The Alaouites, starting with Moulay Rashid in the mid-17th century, succeeded the Saadians as rulers of Morocco and continue to be the reigning monarchy of the country to this day. As a result, many of the mosques and palaces standing in Morocco today have been built or restored by the Alaouites at some point or another. Ornate architectural elements from Saadian buildings, most famously from their lavish el-Badi Palace in Marrakesh, were also stripped and reused in buildings elsewhere during the reign of Moulay Isma'il (1672–1727). Moulay Isma'il is also notable for having built a vast imperial palace complex – similar to previous palace-citadels but on a grander scale than before – in Meknes, where the remains of his monumental structures can still be seen today. In his time Tangier was also returned to Moroccan control in 1684, and much of the city's current Moroccan and Islamic architecture dates from his reign or after.In 1765 Sultan Mohammed Ben Abdallah (one of Moulay Isma'il's sons) started the construction of a new port city called Essaouira (formerly Mogador), located along the Atlantic coast as close as possible to his capital at Marrakesh, to which he tried to move and restrict European trade. He hired European architects to design the city, resulting in a relatively unique Moroccan-built city with Western European architecture, particularly in the style of its fortifications. Similar coastal fortifications or bastions, usually known as a "sqala", were built at the same time in other port cities like Anfa (present-day Casablanca), Rabat, Larache, and Tangier. Up until the late 19th century and early 20th century, the Alaouite sultans and their ministers continued to build beautiful palaces, many of which are now used as museums or tourist attractions, such as the Bahia Palace in Marrakesh, the Dar Jamaï in Meknes, and the Dar Batha in Fes.