Great Mosque of Qal’at Bani Hammad: A Hammadid Congregational Mosque in Algeria

Great Mosque of Qal'at Bani Hammad
Great Mosque of Qal'at Bani Hammad
Great Mosque of Qal'at Bani Hammad

Site at a Glance

Rating
4.4
Popularity
Low
Country
Algeria
Primary era
Medieval
Eras represented
Medieval
Civilizations
Unclassified
Site type
Religious
Remains
Mosque
On this page13 sections

History

The Great Mosque of Qal’at Bani Hammad in Algeria was built by the Hammadids, a medieval Berber dynasty, in 1007–1008 during the foundation of their fortified capital. Founded by Hammad ibn Buluggin, the first Hammadid emir, the mosque belonged to Sunni Islam and followed the Maliki rite. It became the principal religious monument of Qal’at Bani Hammad and is now part of the archaeological site recognized for its importance to the history of Hammadid civilization.

Foundation of the Hammadid Capital

Hammad ibn Buluggin established Qal’at Bani Hammad as the capital of the Hammadid Emirate and brought skilled builders from across his domains. Tradition preserved by Ibn Khaldun, a fourteenth-century North African historian and social thinker, places the mosque’s construction in 398 AH, corresponding to 1007–1008, at the same time as the city’s foundation. The mosque was probably the first major structure erected there, followed by the administrative center and residential quarters.

Its position in the southern part of the lower city placed it within the capital’s main urban organization. Palaces, including the Palace of the Lake, the Palace of the Stars, and the Palace of Salvation, lay to its north, while houses and other activities extended southward. The principal road in front of the mosque ran between Bab Djennane in the west and Bab al-Akwass in the east.

Expansion under Al-Nasir

A second building phase took place under Al-Nasir ibn Alannas ibn Hammad, who ruled from 1062 to 1088. The portico was enlarged around the courtyard, some openings at the courtyard corners were closed to strengthen the prayer-hall facade, and additional structures were added. This phase also included the construction of the maqsurah, an enclosed or specially distinguished space near the mihrab, the closure of the entrances on both sides of the minaret, and the addition of a storey to the corner constructions.

The mosque remained in use from the eleventh through the nineteenth centuries. After the decline of Qal’at Bani Hammad, following the settlement of the Hilalians in the region, it was deserted and gradually became ruinous. After the Banu Hammad moved to Béjaïa and the city’s population declined, a smaller mosque appears to have been built within the former prayer hall, altering the later interior organization.

Excavation and Preservation

General Léon de Beylié led a three-and-a-half-month excavation campaign in 1908, partially exposing the mosque and the Palace of the Lake. Further investigations by the Algerian archaeologist Rachid Bourouiba between 1964 and 1972 revealed more of the Great Mosque. The minaret was restored in 1974, followed by a UNESCO preservation and restoration plan from 1976 to 1982 and an Algerian-Polish restoration mission in 1987.

The mosque forms part of the archaeological site of Qal’at Bani Hammad, inscribed on the UNESCO World Heritage List in 1980 under cultural criterion (iii). Together with the surviving palatial remains, it provides principal evidence for the wealth and influence of Hammadid civilization. Its minaret and other original features also occupy an important place in the development of Western Islamic architecture. Proposed later echoes include the Almohad minarets of the Giralda in Seville, the Kutubiyya Mosque in Marrakech, and the Hassan Tower in Rabat, as well as Zayyanid and Marinid buildings at Tlemcen.

Remains

Overall Plan and Enclosure

The mosque originally covered more than 3,500 square metres within a rectangular plan measuring approximately 63 by 53 metres. Its principal elements were a large sahn, or open mosque courtyard, a hypostyle prayer hall whose roof was carried by rows of supports, and a square minaret. A fortified wall about 1.5 metres high enclosed the complex. Rectangular external pillars, approximately 1.8 metres long and 1.3 metres wide, strengthened the enclosure. Open gates stood on the east, west, and north sides, with the northern entrance leading to a nine-step staircase that is now blocked.

Courtyard and Associated Rooms

Portico and Cistern

The entrances opened toward a courtyard surrounded by a portico and paved with white tiles. The sahn measured approximately 53.2 by 26.9 metres. Its centrally placed cistern was supplied by a spring and measured 11.15 metres long, 5.4 metres wide, and 2.8 metres high; its vault is partially collapsed. The portico used cylindrical white-marble columns set on masonry bases, and its eastern side retains an incomplete sequence in which the five-column arrangement is interrupted.

Courtyard Chambers

Eleven doors in the wall between the courtyard and prayer hall opened into the courtyard. Three rooms on its western side served for ablutions, with one containing a large jar. A small chamber beside the eastern section may have been used as a library. This room had a stone pavement, a semicircular arch dividing its interior, and two supporting uprights. The main gates also connected the mosque with rooms or chambers extending across the plateau, probably serving a function comparable to facilities associated with the Mosque of Sultan Qala’un in Cairo.

Prayer Hall and Minaret

Prayer Hall

The rectangular prayer hall measured approximately 53.2 by 34.2 metres and was organized into thirteen aisles and eight structural bays. The aisles ran perpendicular to the qibla wall, the wall oriented toward Mecca. Surviving foundations mark the positions of the columns. Five central aisles were separated from the rest of the hall by a wall originally about 1.1 metres thick, of which approximately 0.6 metres remains. The structure around the mihrab, a niche marking the direction of prayer, contained five arches and four bays.

The dividing wall included vertically pierced pottery pipes that carried rainwater away. It also contained a semi-cylindrical niche about one metre wide, functioning as a mihrab and decorated with green glazed ceramic. Fragments of stained glass were found within the wall. The principal mihrab survives at base level, truncated on its right side. Its south-facing niche was formed by a pointed arch supported by two freestanding columns, whose positions remain visible.

The structure surrounding the mihrab was initially identified as a maqsurah. It is now understood as a smaller mosque constructed inside the prayer hall during the later decline of Qal’at Bani Hammad, giving the surviving interior remains evidence of a late reuse phase.

Minaret

The minaret stands at the center of the courtyard’s northern side, aligned with the mihrab. Its rectangular tower measures approximately 6.5 metres on each side and reaches 24.7 metres in its surviving form, while the upper section has collapsed. An internal staircase of 127 steps winds around the center of the tower. A later stone staircase replaced an earlier wooden one.

Built on a square plan comparable to Syrian examples, the minaret has its principal decoration on the southern facade, while the other sides contain narrow windows. The southern elevation is divided into three vertical registers, an arrangement later echoed by the Giralda. A rectangular plaque framing the entrance carries palmettes and scrolls. Above it, the central register combines superimposed blind and open arches, pointed and semicircular forms, a carved stone panel, a partly preserved five-lobed arch, three superimposed bays, and a recess containing three semicircular arches.

The matching lateral registers contain blind niches, including examples with shell motifs, niches with semi-cylindrical bases and shell-shaped vaults, and niches with flat bases. Bluish-green ceramic pieces were set into the stucco, while glazed bricks formed cross patterns in the arches below. Some early researchers connected parts of this decoration with ancient and Byzantine motifs. The summit is represented in interpretation as having originally carried battlements and a lantern resembling that of the Kutubiyya Mosque in Marrakech.

Archaeological Finds

Excavations produced thirty-three roughly hewn stone shaft sections from the courtyard, with diameters ranging from 15 to 42 centimetres. Other finds include decorative fragments, columns, basins, ceramics, glazed pottery, coins, jewelry, and fragments and panels bearing Arabic and Kufic calligraphy. Kufic is an early angular form of Arabic writing often used for monumental inscriptions. These materials are preserved or displayed in museums in Algiers, Constantine, Sétif, and the Louvre in Paris, as well as in the museum at the archaeological site.

Nearby sites

Scroll to Top