In 1828, Great Britain blockaded the port in retaliation for piracy. As part of its ongoing conquest of neighboring Algeria, France declared war over Moroccan tolerance of Abd el-Kader; Tangier was bombarded by a French fleet under the Prince of Joinville on 6 August 1844. What little of its fortifications were damaged were later repaired by English engineers, but French victory at Isly near the disputed border ended the conflict on French terms.