Ceuta (UK: /ˈsjuːtə/, US: /ˈseɪuːtə/, Spanish: [ˈθewta, ˈsewta] ; Moroccan Arabic: سَبْتَة, romanized: Sabtah) is an autonomous city of Spain on the North African coast. Bordered by Morocco, it lies along the boundary between the Mediterranean Sea and the Atlantic Ocean. Ceuta is one of the special member state territories of the European Union.
Phoenicians founded a settlement in the peninsula of Almina, which had continuity under Roman and Byzantine rule (Septem Fratres). It was annexed to the early Arab Caliphates upon the Islamic conquest of the Maghreb, only to be destroyed during the Berber Revolt. It was rebuilt in the 9th century by Majkasa Ghomaras, and for much of the middle ages, regional powers north and south of the Strait of Gibraltar vied for control over Ceuta, which was a key contested port in the so-called Battle of the Strait. In 1415, it was annexed to the Kingdom of Portugal, and subsequently, after 1580, to the Hispanic Monarchy, with the city choosing to stay in the latter after 1640. Ceuta was a regular municipality belonging to the Spanish province of Cádiz prior to the passing of its Statute of Autonomy in March 1995, as provided by the Spanish Constitution, henceforth becoming an autonomous city.