The siege of Larache, in 1689, was undertaken by an army of Morocco under 'Alawid sultan Ismail bin Sharif against the Spanish forces of Charles II, who had ruled the city for almost 80 years since its cession in 1610. After three months of siege, the defenders were forced to capitulate.