Casablanca and business center of Morocco, although the national political capital is Rabat. The leading Moroccan companies and international corporations doing business in the country have their headquarters and main industrial facilities in Casablanca. Recent industrial statistics show Casablanca retains its historical position as the main industrial zone of the country. The Port of Casablanca is one of the largest artificial ports in the world, and the second largest port of North Africa, after Tanger-Med east of Tangier. Casablanca also hosts the primary naval base for the Royal Moroccan Navy. The original name of Casablanca was "Anfa", in Berber language, by
Tangier 927, Ceuta in 931, and Tangier in 949. Tangier's governor was subsequently named chief over Cordova's Moroccan possessions and allies. Ali ibn Hammud, named Cordova's governor for Ceuta in 1013, took advantage of the realm's civil wars to conquer Tangier and Malaga before overrunning Cordova itself and proclaiming himself caliph in 1016. His Barghawata ally Rizḳ Allāh was then permitted to rule from Tangier with general autonomy. Yusuf ibn Tashfin captured Tangier for the Almoravids in 1077. It fell to Abd al-Mumin's Almohads in the 1147 and then flourished under his dynasty, with its port highly active. Like Ceuta, Tangier