OBERON
Dynasty1014 – 1152Europe· 5 min read

Hammadid dynasty

The Hammadid dynasty, also known as the Hammadid Emirate or the Kingdom of Bejaia, was a medieval Islamic kingdom in the central Maghreb, encompassing what is now Algeria.
Hammadid dynasty
4 images · Wikimedia Commons
Place in royal history1014 – 1152
First pharaohs
First emperor of China
Fall of Rome
Genghis Khan
Mughals
French Revolution
Fall of the tsars
3200 BCEtoday

Gallery

In depth

From Wikipedia, CC BY-SA

The Hammadid dynasty (Arabic: الحماديون, romanized: Al-Hammādiyyūn, lit. 'children of Hammad'), also known as the Hammadid Emirate or the Kingdom of Bejaia, was a medieval Islamic kingdom in the central Maghreb, encompassing what is now Algeria. It was established at the beginning of the 11th century when Hammad ibn Buluggin declared himself emir, thus splitting the Zirid domains into two separate dynasties. Under the reign of Emir Al Nasir, the emirate briefly became the most important state in the Maghreb, and reached its greatest territorial extent, stretching from Tlemcen in the west to Tunis in the east, and from the Mediterranean Sea in the north to the desert oasis of Ouargla and Oued Righ in the south. While they briefly controlled the principality of Fez in the west and cities like Sfax, Kairouan, Laribus, and Tripoli to the east.

At first, Hammad built a fortified city that would serve as the capital for his newly declared kingdom. Later, upon the arrival of the Arabic Banu Hilal tribes, the capital would be replaced by another city, newly built by Emir Al Nasir ibn Alnas, called Al-Nāsiriyyah (from Arabic: الناصرية) and later renamed to Bejaia; it was the official capital of the Emirate by 1090 during the rule of Al-Mansur. Both cities grew to become among the largest and most prosperous centers of the Maghreb, with Bejaia housing more than 100,000 inhabitants. The Hammadids subsequently clashed with the Almoravids in the west and their cousins the Zirids in the east. The latter weakened with the rise of the prominent Normans in Sicily, who also confronted the Hammadids for the domination of Ifriqiya (now Tunisia). However, the Hammadids faced another challenge on their western borders with the growing force of the Almohad Caliphate, and their emirate was finally annexed by the Almohads in 1152 after a brief clash with them.

Establishment

In 987 and 989, al-Mansur ibn Buluggin, the emir of the Berber Zirid dynasty, appointed his uncle Hammad ibn Buluggin as governor of Ashir and western Zirid lands. Hammad subsequently defended the territory against Zenata incursions and was granted additional lands by al-Mansur's successor Badis ibn Mansur. In 1007 and 1008, forces under Hammad left Ashir and built a new citadel-capital, Qal'at Bani Hammad (also called Al Qal'a of Beni Hammad), in M'Sila Province in the Hodna Mountains; a thriving city sprang up around the fortress.

In 1014, Hammad declared his independence from Zirid suzerainty and switched his spiritual allegiance from the Shi'a Fatimid caliphs to the Sunni Abbasid caliphs of Baghdad. The Zirids failed to quash the rebellion and recognized Hammadid legitimacy in 1017, in a peace with al-Mu'izz that was sealed by Hammad's son and successor Qaid ibn Hammad (r. 1028–1054). The peace was further sealed by marriage, with al-Mu'izz's sister marrying one of Hammad's sons. According to historian Hady Roger Idris, it appears that the Hammadids agreed to recognize Fatimid suzerainty again at this time, but at some later point in his reign, perhaps around the same time as the Zirids did in the 1040s, Qa'id ibn Hammad repudiated Fatimid suzerainty again.

In 1039, Qaid ibn Hammad was attacked by Hammama, the ruler of Fes, but Hammama soon returned to Fez, requested peace, and declared his submission to the Hammadids.

Al-Mu'izz subsequently also broke with the Fatimids and changed his allegiance to the Abbasids. The Fatimid caliph, al-Mustansir, sent Bedouin Arab allies, the Banu Hilal and Banu Sulaym, into a mass migration and invasion of the lands in what is now Libya, Tunisia, and Algeria, culminating in al-Mu'izz's defeat in 1053 and the subsequent reduction of the Zirids to a small, insignificant territory based in Mahdia. Amidst the chaos, the Hammadids reverted their allegiance to the Fatimids and managed to negotiate an alliance with the Bedouin tribes.

Although the Hammadids and Zirids entered into an agreement in 1077 in which Zirid ruler Tamim's daughter married into the Hammadids, this did not end the rivalry between the dynasties. A common pattern was for Hammadids and Zirids to support "rival coalitions of Arab tribes to fight their proxy wars." The Hammidid–Zirid rivalry also influenced the choice of which caliph to recognize; historian Amar S. Baadj writes, "It would appear that the principle which the Hammadids followed in the course of their relations with Baghdad and Cairo was that of opposing the Zirids. Whenever the Zirids recognized one of two rival caliphs, the Hammadids would declare their submission to the other."

Apogee

Buluggin ibn Muhammad (r. 1055–1062), a subsequent Hammadid ruler, invaded northern Morocco in 1062 and briefly took Fez for a few months, but was then assassinated by his paternal cousin An-Nasir ibn Alnas, who succeeded him as emir. The Hammadid dynasty peaked during al-Nasir's reign. Under his reign the Hammadids established their control across large parts of the Maghreb. Al-Nasir captured Constantine and Algiers, then established Hammadid influence far to the east in Sfax, where the local ruler acknowledged Hammadid suzerainty, as well as in Susa and Tripoli. At the request of local shaykhs, he was also able to install a loyal governor in Tunis until 1067. Between 1067 and 1072 he built Béjaïa, developing it from a small fishing village into a large, fortified town and port. The Hammadids also expanded south deep into the Sahara, with Ouargla forming the southernmost city of their territory. They briefly extended their authority further to the Oued Mya.

In the 11th century, the Hammadids came under increasing pressure from the Banu Hilal, who had settled in the Plains of Constantine and increasingly threatened Qal'at Bani Hammad. While initially allied to the Bedouins, the Hammadids later became their puppets, allocating half of their harvest yields to them and buying off tribesmen in order to secure the safety of trade routes. Qal'at Bani Hammad was eventually eclipsed by Béjaïa. In 1090, with the Banu Hilal menace rising, the Hammadids moved their capital to Béjaïa, yielding their southern territories to the Hilalians. The Hammadids maintained control of a small but prosperous coastal territory between Ténès and El Kala. E.J. Brill's First Encyclopaedia of Islam (1927) states that the Qal'at Bani Hammad "was not completely abandoned by al-Mansur and he even embellished it with a number of palaces. The Hammadid kingdom had therefore at this point two capitals joined by a royal road." Renamed al-Nasiriya to honor the emir, Béjaïa developed into a sophisticated trading city; under al-Nasir and his son and successor al-Mansur ibn Nasir, large gardens, palaces, a Great Mosque, and other landmarks were constructed in the town.

Continue reading on Wikipedia