Castlemap

Fortress

Kasbah of Mehdia

🇲🇦 Morocco · 10th century

Kasbah of Mehdia in Morocco
Photo: Jaro Varga · CC BY-SA 3.0 · Wikimedia Commons

Kasbah Mahdiyya (also written as Mehdya, Mehdia, Mahdiya), or Kasbah of Kenitra, (Arabic: قصبة المهدية) is a kasbah located in Kenitra, Morocco. 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. The kasbah was built during the era of the Almohad sultan Abd al-Mu'min, and restored during the Alaouite period in the 17th century.

The building was established in a strategic location that connects several areas of Morocco. The Sebou River, which flows to the Atlantic Ocean, is a navigable river that flows through the Atlas Mountains and reaches inland areas such as the city of Fez. During the Middle Ages, holding this area was key for establishing a logistical, military and commercial advantage. As such, the kasbah was heavily contested by many states throughout history. Its foundation dates back to an assembly building, likely built as a part of a harbor from the 10th century. 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. The town of Mehdya grew around it and remained small, but was used as a resource center for trade with Europe until the 16th century.

In 1515, the Portuguese captured the area and built a fort in a different location, and the occupation only lasted for some weeks.

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.

The Spanish constructed the La Mamora fortress and San Felipe baston fort in 1614. It was the work of the royal engineer Cristobal de Rojas and Cristobal Lechuga artillery officer on top of the rocks that overlooks the mouth of the river. The citadel wall built as a part of the fort had become the basis of the current structure.

The area was recovered by the Alaouite Sultan Ismail Ibn Sharif in 1681, who gave the for, or kasbah, its current name. Sultan Ismail carried out a full-scale reconstruction of the kasbah on the Spanish fort. He built an establishment for administration (Dar el-Makhzen), mosque, barracks, madrasa, funduq (traditional inn) and stables. The Sultan also restored the broken citadel walls and demolished the southern section to make way for defense towers and moats. He maintained the three towers on the northern side.

Text adapted from “Kasbah Mahdiyya” on Wikipedia, CC BY-SA 4.0.

Kasbah of Mehdia ranks #4,658 of 8,134 worldwide in the atlas's castle fame ranking, and #18 of the 37 mapped in Morocco. Founded c. 950, it is older than 93% of the atlas's dated landmarks — one of 138 atlas entries founded in the 10th century. 1 more atlas landmarks stand within 25 km. The nearest day-trip guide is Tiflet, 50 km away. See how Morocco compares in the castle statistics.

View on the interactive castle map →

Read the full history on Wikipedia ↗

Frequently asked questions

Where is Kasbah of Mehdia?

Kasbah of Mehdia stands in Morocco, at 34.26417°, -6.6575°.

When was Kasbah of Mehdia built?

The atlas dates its founding to c. 950. Earlier structures may have stood on the site; this is the earliest documented founding year.

How famous is Kasbah of Mehdia?

In this atlas's fame ranking: #4,658 of 8,134 worldwide, and #18 in Morocco. Fame here combines how many Wikipedia language editions cover a landmark with how many people read them.

What is the nearest castle to Kasbah of Mehdia?

La Mamora, about 2 km away.

More castles in Morocco

More fortresses