Rail transport in Morocco the development of a high-speed railway from Tangier via Rabat and Casablanca to Marrakech. Also a (passenger) rail connection between Tangier and Tangier MED, the port on the Mediterranean near Tangier, will give passengers arriving by ferry a connection to the main lines. A train will operate every 2 hours between the port and Tangier city. A freight-line from the Renault factory at Tangier MED is already operational Rail transport in Morocco Rail transport in Morocco is operated by the national railway operator ONCF. It was initially developed during the colonial era. The main network for passenger-transport consists of a
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