 Before being invaded by the Portuguese in the 16th century, Casablanca used to be known as Anfa.The Portuguese used the ruins of Anfa to build a military fortress in 1515, and were eventually expelled by the Moroccan Saadi Dynasti in 1530.The foundation of the current port started during the reign of Sidi Mohammed Bin Abdellah, the Alawi Sultan of Morocco in the 18th century.