For much of African history, the construction of fortresses and fortified structures was a mostly urban phenomenon associated with large states. The origins of castle-building, often attributed solely to European ingenuity, are deeply rooted in a much older tradition of fortification that emerged from the North African, the Aegean, Southwest Asian, and Middle Eastern civilizations.
These regions, marked by their complex societies and frequent conflicts, developed sophisticated methods of defense that profoundly influenced Roman military architecture and, through them, the medieval castles of Western Europe.
North Africa, particularly ancient Egypt, pioneered fortification construction as early as the Old and Middle Kingdoms. The Aniba fortress, built during Egypt’s Middle Kingdom (circa 2000-1700 BCE), exemplifies early military architecture.
Situated in Nubia, it featured thick mudbrick walls, watchtowers, and defensive bastions, designed to protect Egypt’s southern borders and secure trade routes. These fortifications influenced neighboring civilizations, particularly through Egypt’s interactions with the Nubians, Libyans, and later the Hyksos, who would adopt and adapt these techniques.
Let's delve into the rich history of North African fortresses, exploring their diverse architecture, strategic importance, and cultural significance.
Read also: Defense and Cultural Exchange in North African Cities
Excavations in Sudan at the site of Kerma -Africa's oldest city outside Egypt, uncovered the ruins of a square fortress measuring 80 meters on each side with connected bastions 16 meters in length, that was constructed around 2500-2400BC.
Entire sections of the city of Kerma during its Middle period (2050-1750 BC) and Classic period (1750-1480BC) included an elaborate complex of fortifications and fortresses of varying sizes and typologies, that served multiple functions.
The construction of fortifications and fortresses in ancient Nubia continued during the Napatan and Meroitic periods of Kush (750BC-360CE), as well as in the medieval period. The entire length of the Nubian Nile valley is dotted with the ruins of walled cities and fortresses, most notably; the walled capitals of Meroe and Old Dongola, as well as the fortresses at Qasr Ibrim, Hisn al-Bab, Gala Abu Ahmed, Umm Marrahi, Shofein and Umm Ruweim.
Beyond the Nile valley, Fortifications and fortresses were also constructed across most parts of the continent.
Iconic Fortresses in North Africa
Here are some notable examples of fortresses in North Africa, each with its unique history and architectural style:
Read also: Culinary Traditions of North Africa
The Saladin Citadel of Cairo, Egypt
The Saladin Citadel of Cairo is a medieval Islamic fortification in Cairo, Egypt. The Citadel was fortified by the Ayyubid ruler Salah al-Din (Saladin) between 1176 and 1183 AD to protect it from the Crusaders. Only a few years after defeating the Fatimid Caliphate, Saladin set out to build a wall that would surround both Cairo and Fustat.
Built on a promontory beneath the Muqattam Hills, a setting that made it difficult to attack, the efficacy of the Citadel’s location is further demonstrated by the fact that it remained the heart of Egyptian government until the 19th century.
Citadel of Qaitbay, Alexandria, Egypt
The Citadel of Qaitbay (or the Fort of Qaitbay) is a 15th-century defensive fortress located on the Mediterranean sea coast, in Alexandria, Egypt. It was established in 1477 AD by Sultan Al-Ashraf Sayf al-Din Qa’it Bay.
The Qaitbay Citadel in Alexandria is considered one of the most important defensive strongholds, not only in Egypt, but also along the Mediterranean Sea coast. It was erected on the exact site of the famous Lighthouse of Alexandria, which was one of the Seven Wonders of the Ancient World.
Aït Benhaddou, Morocco
Aït Benhaddou is a fortified city, or palace (ksar), along the former caravan route between the Sahara and Marrakech in present-day Morocco. This giant fortification which is made up of six forts (Kasbahs) and nearly fifty palaces which are individual forts, is of earthen clay architecture used in many examples of Moroccan architecture.
Read also: Comparing Africa and North America
Aït Benhaddou has been a UNESCO World Heritage Site since 1987.
Murzuk, Libya
Murzuk is a fortified oasis town and the capital of the Murzuq District in the Fezzan region of southwest Libya. It lies on the northern edge of the Murzuq Desert, an extremely arid region of ergs or great sand dunes which is part of the greater Sahara Desert.
Murzuk developed around an oasis which served as a stop on the north-south trade route across the Sahara Desert. Under Ottoman rule (1578 - 1912) Murzuk was at times the capital of Fezzan, and enjoyed a long period of prosperity. The town had a major fort, and was termed the “Paris of the Sahara”. The Ottoman army usually maintained a garrison there, but local control remained in the hands of the Sultan of Fezzan.
Fort Santa Cruz, Oran, Algeria
Fort Santa Cruz, Oran, is one of the three forts in Oran, the second largest port city of Algeria; the other two forts are Fort de la Moune at the western end of the port and Fort St. Philippe, a replacement of the old castle of the Saints known in Spanish as Castillo de los Santos, at the centre of Oran.
Fort Santa Cruz was built between 1577 and 1604 by the Spaniards on the Pic d’Aidour above Gulf of Oran in the Mediterranean Sea, at an elevation of above 400 metres (1,312 ft).
The fort city under Spanish rule continued to grow, requiring enlargement of the city walls. In spite of the improved fortifications, the city was the object of repeated attacks. In 1831, the French occupied Oran and the fort.
Ribat, Monastir, Tunisia
Ribat is an Arabic term for a small fortification built along a frontier during the first years of the Muslim conquest of North Africa to house military volunteers, called the murabitun. These fortifications later served to protect commercial routes, and as centers for isolated Muslim communities.
Monastir was founded on the ruins of the Punic-Roman city of Ruspina. The city features a well preserved Ribat that was used to scan the sea for hostile ships as a defence against the attacks of the Byzantine fleet.
The walls of Djenne, Kilwa, and Manda were primarily built to keep out flood waters from the river and sea, while some of the larger fortifications in West Africa were constructed for ideological/political reasons.
Forts and the Slave Trade
Long before the first stone of a European castle was laid, civilizations in the Aegean and the broader Middle East were mastering the art of fortification. The Mycenaeans of Greece, for example, constructed massive citadels with “cyclopean” walls, so named for their immense, seemingly superhuman size. Meanwhile, in the ancient Near East, the Assyrians and Babylonians were developing fortified cities that would serve as models for later military constructions.
The Romans, during their expansive conquests across the Mediterranean and into the Middle East, encountered these advanced fortifications and adapted them to suit their own military needs. Roman fortresses, or “castra,” were heavily influenced by the designs they observed in the East. One of the most significant examples of this synthesis can be seen in the Roman limes, the fortified frontiers that marked the edges of the Empire.
The limes, stretching across Europe, North Africa, and the Middle East, were a complex network of forts, watchtowers, and walls, inspired by the military architectures of the regions they bordered.
As the Roman Empire crumbled and Europe descended into the chaos of the early medieval period, the need for local defense became paramount. The remnants of Roman military architecture provided a foundation upon which the nascent kingdoms of Europe began to build.
However, the Crusades in the 11th and 12th centuries were perhaps the most significant vector for the transmission of Middle Eastern fortification techniques to Europe. European crusaders encountered the imposing castles of the Levant, such as Krak des Chevaliers in present-day Syria, which featured concentric walls, arrow slits, and fortified gates-innovations that would soon be replicated in Europe.
The castles that dominate the European landscape, often seen as symbols of Western architectural achievement, owe much of their design and construction principles to the fortifications of North Africa, the Aegean, Southwest Asia, and the Middle East. These structures were not born out of thin air but were instead the culmination of millennia of cross-cultural exchange, adaptation, and innovation.
European powers arranged treaties with coastal African leaders, who allowed European traders to establish small, often well-defended centers of trade in strategic locations. In some areas along the West African coast, especially on the Gold Coast, the Portuguese, Dutch, and British constructed dozens of forts and other substantial structures (often referred to as castles), whose imposing presence meant to symbolize and promote European wealth and prestige.
Europeans hoped that such forts and castles, and the reciprocal relationships that maintained their presence, would establish mini-monopolies, whereby the coastal trade in slaves in particular regions could be cornered, at the exclusion of other European traders.
In most areas of West and Central Africa, Europeans negotiated with locals to construct so-called factories, or trading houses, in which factors, or employees of European trading firms, managed the purchase of captives from middlemen who linked coastal traders to vast slaving frontiers in the interior. As with other forms of European trading establishments, each factory was a kind of world unto itself, as European and African peoples formed a wide range of complicated relationships that spawned new trade languages, new cultures, and families of mixed parentage.
Along the African coast, however, pidgin languages that facilitated trade arose from the sixteenth century onward. From the shadows of coastal forts, castles, and factories, captives were loaded by small vessels, often pirogues, onto slave ships anchored off shore. In some cases, European traders sailed from factory to factory, acquiring small numbers of slaves at each point until their vessels hit capacity.
Here are some forts related to the slave trade:
Elmina Castle, Ghana
Elmina Castle was erected by the Portuguese in 1482 as São Jorge da Mina (St. George of the Mine) Castle, also known simply as Mina or Feitoria da Mina in present-day Elmina, Ghana (formerly the Gold Coast).
First established as a trade settlement, the castle later became one of the most important stops on the route of the Atlantic slave trade. The Dutch seized the fort from the Portuguese in 1637, and took over all the Portuguese Gold Coast in 1642.
The slave trade continued under the Dutch until 1814; in 1872 the Dutch Gold Coast, including the fort, became a possession of the British Empire. Today Elmina Castle is a popular historical site and is recognised by UNESCO as a World Heritage Site.
Millions of the recently enslaved awaited transport to the Americas in Elmina Castle until the Dutch ended their participation in the slave trade in 1814.
Cape Coast Castle, Ghana
Cape Coast Castle, less than ten miles from Elmina Castle, was also heavily used during this incredibly brutal chapter in history. Swedish traders constructed it in 1653, but, after a few different owners, it fell under British control eleven years later. The castle’s cannons pointed at the sea and kept other traders from venturing too close to the British-controlled castle.
Elmina Castle and Cape Coast Castle are just two of over forty castles on this coast that held enslaved people on their way across the Atlantic Ocean.
| Fortress | Location | Era | Significance |
|---|---|---|---|
| Saladin Citadel | Cairo, Egypt | Medieval Islamic | Protected Cairo from Crusaders, center of Egyptian government |
| Citadel of Qaitbay | Alexandria, Egypt | 15th Century | Defensive stronghold on the Mediterranean Sea coast |
| Aït Benhaddou | Morocco | Ancient caravan route | Fortified city, UNESCO World Heritage Site |
| Elmina Castle | Elmina, Ghana | 15th Century | Important stop on the Atlantic slave trade route |
| Ribat of Monastir | Monastir, Tunisia | Early Islamic | Defensive structure against Byzantine attacks |
North African fortresses stand as silent witnesses to the region's dynamic past. From ancient Nubian fortifications to medieval Islamic citadels and European-built slave castles, these structures offer invaluable insights into the military strategies, cultural exchanges, and socio-political landscapes that have shaped North Africa.
