Kasbah Mahdiyya

It is situated at the mouth of the Sebou River on the Atlantic Ocean, 8 km (4.9 mi) west of the city's train station.

[1] The kasbah was built during the era of the Berber Almohad sultan Abd al-Mu'min, [citation needed]and restored during the Alaouite period in the 17th century.

[citation needed] In the 12th century, the Almohad Sultan Abd Al-Mu'min established a dock and attached a fort, using high quality woods from the neighboring forest.

[2] In the 17th century, after the site was briefly used as a hub for piracy, the local authority attempted to gain independence, only to be occupied by Spain.

He built an establishment for administration (Dar el-Makhzen), mosque, barracks, madrasa, funduq (traditional inn) and stables.

Kasbah Mehdya