Anfa, as the settlement in what is now Casablanca was known, was built by the Romans according to the "Descrittione dell’Africa" of Leo Africanus. The city is located at the mouth of Wādi Būskūra on the Atlantic Ocean in the Chaouia plain, known as Tamasna under the Barghawata. It was destroyed by the earthquake of 1755 and rebuilt by Sultan Muhammad III of Morocco, who employed European architects, and it was renamed "Ad-dār al-Bayḍā" (). The , the medina walls, and the two oldest mosques date back to this period.