Amazigh History Ancient roots. Living cultures.

The Hammadids: Qal’a Beni Hammad, Béjaïa and the Central Maghreb

The dynasty that emerged from the Zirid world, built a monumental inland capital and developed a coastal centre at Béjaïa.

AI-assisted source check of the cited scholarly account and institutional heritage records, including the Béjaïa article’s relevant full-text paragraphs. Independent specialist review remains pending. · Source/review record dated 2026-10-28. What our review labels mean.

Change note: Replaced Wikipedia support for the coastal transition with M. Cote’s account; retained the museum chronology as the source for the conquest in 1152.

My reading list

A division within a ruling family

The Hammadids were a Sanhaja dynasty of the central Maghreb, emerging from the Zirid political world. Hammad ibn Buluggin moved from cooperation with the Zirid leadership to rivalry and separation. Golvin’s historical account dates the decisive rupture to 1014–1015. Allegiance to distant caliphs also shifted during this conflict; it should not be imagined as an unchanging doctrinal position maintained by every ruler of either dynasty.1

The relationship is easiest to understand as a struggle over authority within an existing regional system. A new dynastic name did not create a new population overnight. Nor did the separation produce borders equivalent to those of present-day Algeria and Tunisia. Following particular cities and rulers gives a more accurate picture than colouring a modern map with a single label.

A capital founded in 1007

The Qal’a of Beni Hammad preceded the final split. UNESCO dates its foundation to 1007 and identifies it as the first Hammadid capital. Its surviving ensemble includes fortifications, a congregational mosque and palace remains in a mountainous setting near M’Sila. The scale and variety of these structures establish that this was a substantial urban and courtly centre, not merely an isolated military tower.2

The site also provides a useful lesson in chronology. UNESCO’s account distinguishes its decline and abandonment around 1090 from its demolition in 1152. Those dates refer to different developments. They should not be collapsed into a statement that the Hammadid dynasty ended when the court shifted towards the coast. The dynasty and its first capital had related but distinct histories.2

Turning towards Béjaïa

Under al-Nasir, Béjaïa developed as a Hammadid royal centre. M. Cote’s history of the city connects the transfer from the Qal’a to two developments: growing pressure from nomadic groups in the Hodna and expanding trade with Europe. The account therefore places the move within a wider shift towards the coast, rather than explaining it through military pressure alone. The dynasty’s history continued after its inland capital’s political high point.3

Museum With No Frontiers records Hammadid coin production at Béjaïa in 1148. That is a compact but significant reminder of continuing government shortly before the end of the dynasty. Coinage can help historians investigate claims to authority and mint activity; a chronological entry alone, however, does not establish the amount of money circulating or the wealth of every inhabitant.4

Conquest and an enduring material record

The Almohads conquered the Hammadid kingdom in 1152. This forms part of the expansion associated with Abd al-Mumin, which connected the central Maghreb to a wider empire. Political incorporation did not erase the earlier dynasty’s buildings or the histories of the cities it had governed. Its material record remains a major route into medieval North African history.4

Read the Qal’a’s remains alongside the written chronology: which structures can be dated, what is reconstructed, and which aspects of everyday life remain less visible than royal architecture? Those questions make the site more informative than a photograph used merely to illustrate a dynasty’s name. Continue with the Almohads to follow the next political transformation.

Sources and further reading

Numbered markers in the text refer to the works below. We cite published scholarship, primary texts and institutional documents; we do not cite page numbers we have not verified, and we do not treat encyclopaedias or aggregators as final authorities on substantive claims.

  1. L. Golvin, “Hammadides,” Encyclopédie berbère 22 (2000), pp. 3334–3345, especially paragraphs 1–6. Published article. Indexed historical passages consulted.
  2. UNESCO World Heritage Centre, “Al Qal’a of Beni Hammad,” property 102. Official record. Description and statement of outstanding universal value consulted.
  3. M. Cote, “Béjaïa (Saldae, Badjaia, An Nasiriya, Bougie),” Encyclopédie berbère 9 (1991), pp. 1408–1415, paragraphs 3–4. Published article. Relevant full-text PDF pages consulted for al-Nasir and the coastal transfer, checked 28 October 2026; the article’s historical population estimate is not adopted.
  4. Museum With No Frontiers, “Timeline: Algeria, 1100–1400.” Museum chronology. Entries for Hammadid minting in 1148 and conquest in 1152.

Spotted an error, a better source or a spelling that a community prefers? Send us a correction. Substantive corrections are logged on the article once made.