In June 1907, the French attempted to build a light railway near the port and passing through a graveyard.
Casablanca was an important strategic port during World War II and hosted the Casablanca Conference -called even "Anfa Conference"- in 1943 (from January 14 to January 24), in which Churchill and Roosevelt discussed the progress of the war.