Al-Zaytuna Mosque
Al-Zaytuna Mosque, also known as Ez-Zitouna Mosque, and El-Zituna Mosque (, literally meaning the Mosque of Olive), is a major mosque at the center of the Medina of Tunis in Tunis, Tunisia. The mosque is the oldest in the city and covers an area of  with nine entrances. It was founded at the end of the 7th century or in the early 8th century, but its current architectural form dates from a reconstruction in the 9th century, including many antique columns reused from Carthage, and from later additions and restorations over the centuries. The mosque is known to host one of the first and greatest universities in the history of Islam. Many Muslim scholars were graduated from the Al-Zaytuna for over a thousand years. Ibn 'Arafa, one of the greatest scholars of Islam, Imam Maziri, the great traditionalist and jurist, and the famous Tunisian poet Aboul-Qacem Echebbi, all taught there, among others.

Etymology 

One legend states that it was called "Mosque of Olive" because it was built on an ancient place of worship where there was an olive. Another account, transmitted by the 17th century Tunisian historian Ibn Abi Dinar, reports the presence of a Byzantine Christian church dedicated to Santa Olivia at that location. Archeological investigations and restoration works in 1969–1970 have shown that the mosque was built over an existing Byzantine-era building with columns, covering a cemetery. This may have been a Christian basilica, which provides support for the legend reported by Ibn Abi Dinar. A more recent interpretation by Muhammad al-Badji Ibn Mami suggests that the previous structures may have been part of a Byzantine fortification, inside which the Arab conquerors built their mosque. This hypothesis is also supported by Sihem Lamine.

The saint is particularly venerated in Tunisia because it is superstitiously thought that if the site and its memory are profaned then a misfortune will happen; this includes a belief that when her relics are recovered Islam will end. This ancillary legend related to the discovery of the saint's relics is widespread in Sicily, however it is connected to other Saints as well. In 1402 king Martin I of Sicily requested the return of Saint Olivia's relics from the Berber Caliph of Ifriqiya Abu Faris Abd al-Aziz II, who refused him. Even today the Tunisians, who still venerate her, believe that the dominion of their religion will fade when the body of the Virgin Olivia will disappear.

History 
Al-Zaytuna was the second mosque to be built in Ifriqiya and the Maghreb region after the Mosque of Uqba in Kairouan. The exact date of building varies according to source. Ibn Khaldun and Al-Bakri wrote that it was built in 114 Hijri (circa 731 CE) by Ubayd Allah ibn al-Habhab. Al-Bakri, however, also mentions a mosque being built by Hasan ibn al-Nu'man, who led the conquest of Tunis and Carthage, in 79 Hijri (circa 698 CE). Ahmed ibn Abu Diyaf and Ibn Abi Dinar, attributed the order to Hasan ibn al-Nu'man in 84 Hijri (703 CE), who used it as a place of prayer. Another source states that the Umayyad caliph Hisham ibn Abd al-Malik ordered the building. Modern historians have been divided over whether the foundation should be attributed to Ibn al-Habhab or to Ibn al-Nu'man. Most scholars support the second explanation and attribute the foundation to Ibn al-Nu'man in 698 CE. This is the strongest by evidence as it is unlikely that the city of Tunis remained a long time without a mosque, after its conquest in 79 Hijri. Under this explanation, it is assumed that Ibn al-Habhab subsequently enlarged or rebuilt the mosque and improved its architecture.

The mosque owes its current overall form to a reconstruction under the Aghlabids, the dynasty that ruled Ifriqiya on behalf of the Abbasid caliphs in the 9th century. The work was begun during the reign of emir Abu Ibrahim Ahmad and completed in 864–865. As a result, the mosque's layout is also very similar to the Mosque of Uqba in Kairouan, which was also rebuilt by the Aghlabids earlier in the same century. A contemporary inscription at the base of the dome in front of the mihrab gives the date of this construction and names three individuals: 1) the Abbasid caliph al-Musta'in Billah, identified as the main patron; 2) Nusayr, a mawla of the caliph and probably the overseer of the works; and 3) Fathallah or Fath al-Banna', the architect and chief builder. Another inscription, along one of the mosque's courtyard façades, provides the same information. The Aghlabid emir himself (Abu Ibrahim Ahmad) is not mentioned in these inscriptions, suggesting that he may not have been officially involved in the construction and that Nusayr was directing the works directly on behalf of the Abbasid caliph instead. The Aghlabid structure, in turn, is mostly obscured today by later additions and reconstructions. The sections that are best preserved from the 9th century are the interior of the prayer hall (though some of this was later rebuilt too) and the projecting round corner bastions at the northern and eastern corners of the mosque. There is no evidence that a minaret was attached to the mosque at this time. The reasons for this omission are unclear. It suggests that minarets were not yet a standard feature of congregational mosques or that they were still considered a controversial innovation at the time.Between 990 and 995 further works were carried out under the Zirids, clients of the Fatimid caliphs. These works included the addition of galleries around the courtyard and the Qubbat al-Bahu (or Qubbat al-Bahw), the dome at the entrance of the prayer hall. The dome itself is dated more specifically to 991. The dates for these works are provided by a series of inscriptions around the Qubbat al-Bahu, but the names of the patrons themselves were erased at a later period, possibly when the Zirids declared independence from the Fatimids in the 11th century. From context, the works can be attributed to the patronage of the Zirid emir Al-Mansur ibn Buluggin. The inscriptions also provide the names of four craftsmen: Ahmad al-Burjini, Abu al-Thana, 'Abdallah ibn Qaffas, and Bishr ibn al-Burjini.

Under the Hafsids, who ruled during the 13th to 15th centuries, Tunis became the main capital of Ifriqiya for the first time. This led to an increase in the Zaytuna Mosque's importance and allowed it to overtake the prestige of the older Mosque of Uqba in Kairouan. Significant restoration work was carried out by the Hafsid rulers, under al-Mustansir in 1250 and under Abu Yahya Zakariya in the early 14th century, adding features such as ablution facilities and replacing some of the woodwork. Other repairs and restorations were carried at multiple points during this era. The mosque's first attested minaret was also built under Hafsid patronage in 1438–1439. Its appearance is known from old photographs: it had a cuboid shape (having a shaft with a square base) and was crowned with an arcaded gallery and a polygonal turret or lantern at its summit. 

In 1534 Spanish forces occupied Tunis and broke into the mosque, raiding its libraries and destroying or dispersing many of its manuscripts. During the Ottoman period, both the Muradid and Husaynid dynasties restored and expanded the mosque and its associated institutions. This helped restore the mosque's prominence and its prestige as a center of learning. In 1637 an arcaded loggia was added to the mosque's exterior eastern façade by a patron named Muhammad al-Andalus ibn Ghalib, whose name suggests he was one of the moriscos expelled from Spain in 1609. From 1624 to 1812 the local Bakri family took charge of the mosque's care and occupied the position of the mosque's imam. The present-day minaret was entirely rebuilt in 1894 and imitates the Almohad style of the Kasbah Mosque's minaret further west. Tunisian presidents Bourguiba and Ben Ali carried out major restoration work and rehabilitation, especially during the 1960s and 1990s.

Scholarship and the University 

There is little information about teaching at the Zaytuna Mosque prior to the 14th century. During this time there were most likely courses being offered voluntarily by ulama (Islamic legal scholars), but not in an organized manner. For centuries, Kairouan was the early centre of learning and intellectual pursuits in Tunisia and North Africa in general. Starting from the 13th century, Tunis became the capital of Ifriqiya under Almohad and Hafsid rule. This shift in power helped al-Zaytuna to flourish and become one of the major centres of Islamic learning, and Ibn Khaldun, the first social historian in history was one of its products. The flourishing university attracted students and men of learning from all parts of the known world at the time. Along with disciplines theology – such as exegesis of the Qur'an (tafsir) – the university taught fiqh (Islamic jurisprudence), Arabic grammar, history, science and medicine. It also had a kuttab or elementary school that taught youth how to read, write, and memorize religious texts. The system of teaching was not rigid: attendance was not mandatory and students could follow the courses of their choice. Students who followed a course and became knowledgeable enough to teach the subject on their own were granted a certificate called an ijazah by their instructor.

Rich libraries were also attached to the university. The manuscripts covered almost all subjects and sciences, including grammar, logic, documentations, etiquette of research, cosmology, arithmetic, geometry, minerals, vocational training, etc. One of its famous libraries, al-Abdaliyah, included a large collection of rare manuscripts that attracted scholars from abroad. Much of the library's original collection was dispersed or destroyed when the Spanish occupied Tunis and broke into the Zaytuna Mosque in 1534. After Tunisia gained independence from France in the 1950s the university's library was integrated into the National Libraries of Tunis.

Administrative and curricular reforms to the institution were begun by Ahmad Bey in 1842. They continued in 1875 under Prime Minister Khayr al-Din al-Tunisi, who also expanded the al-Abdaliyah Library and opened it to the public. In 1896 new courses were introduced such as physics, political economy, and French, and in 1912 these reforms were extended to the university's other branches in Kairouan, Sousse, Tozeur, and Gafsa. Until the 20th century the students were mostly recruited from Tunisia's wealthiest families but afterwards its recruitment broadened. Under French colonial rule it turned into a bastion of Arab and Islamic culture resisting French influence. Some prominent members of the Algerian nationalist movement studied here, such as 'Abd al-Hamid ibn Badis, Tawfiq Madani, and Houari Boumédiène. 

After independence from France, reforms to the education system in 1958 and the creation of the University of Tunis in 1960 reduced the Zaytuna's importance. In 1964–1965 its status as an independent university was abolished by President Habib Bourguiba and it was relegated to being a theological college for the University of Tunis. For years afterward, under the rule of both Bourguiba and his successor Ben Ali, the Zaytuna educational institution was kept officially and physically distinct from the Zaytuna Mosque itself. In 2012, after the Tunisian revolution and in response to a court petition by a group of Tunisian citizens, the mosque's former educational offices were reopened and it was declared an independent educational institution once again.

Architecture 

The al-Zaytuna Mosque followed the design and architecture of previous mosques, particularly the Mosque of Uqba in Kairouan that was built in its current form a few decades earlier. The layout of the building and its interior is irregular, with many of its lines not quite parallel or perpendicular, but this is not perceptible to a visitor. The building consists primarily of a trapezoidal courtyard (sahn) and a hypostyle prayer hall. The main difference between this mosque and the Kairouan mosque is the position of the minaret, which in this case was added at a much later period. The mosque is closely integrated into the urban fabric and most of the building's exterior is concealed by other neighbouring structures. Only on the eastern side of the mosque is there an external façade, fronted by an arcaded loggia from 1637. The adjoining rooms and structures around the rest of the mosque's perimeter include shops, libraries, and maqsuras (areas reserved for specific individuals or groups during prayer).

The courtyard is accessible from the exterior via seven doorways and is surrounded by galleries supported by arcades of arches and columns. The gallery on the southern side, preceding the prayer hall, dates from the 10th-century Zirid restoration and is supported by spoliated antique columns and capitals, while the three other galleries currently date from the 17th and 19th centuries, with columns imported from Italy by the prime minister Mustapha Khaznadar in the mid-19th century. The pavement of the courtyard itself consists of antique marble plaques, also spolia. The square minaret rises from the northwest corner of the courtyard. Built in 1894, the minaret is  high and imitates the decoration of the Almohad minaret of the Kasbah Mosque with its limestone strap-work in a sebka pattern on a background of ochre sandstone. 

The central entrance to the prayer hall is covered by a dome, the Qubbat al-Bahu, added by the Zirids around 991. Measuring about 12 metres in height and 4 metres in width, the dome has a sophisticated construction and Jonathan Bloom describes it is one of the finest architectural works from this period of western Islamic architecture. The dome is ribbed and rests on an octagonal base, which rests in turn on a square supporting structure. The ornamentation includes carved moldings, decorative blind arches and niches, pilasters, and polychrome mosaic or ablaq stonework in red, white, and black stone. The arches and windows have horseshoe arches and voussoirs of alternating white and red stone. Arabic inscriptions in Fatimid floriated Kufic are found around the base of the dome and above the capitals of some of the columns.

The hypostyle prayer hall is divided into 15 aisles by rows of columns, 6 bays long, supporting horseshoe arches running perpendicular to the southeastern qibla wall. Each aisle is about 3 metres wide but the central aisle, leading to the mihrab (niche symbolizing the qibla), is wider than the others at 4.8 metres. Another transverse aisle runs in front of the qibla wall. There are around 160 columns and most of them are antique spolia, most likely taken from the site of Carthage. The space in front of the mihrab is covered by a well-preserved dome from the Aghlabid period (9th century), with Kufic inscriptions from the same period. The mihrab itself was redecorated in later periods and most of the prayer hall's decoration, apart from the antique columns, dates from the 13th century onward. The stucco decoration around the mihrab dates largely from 1638, and the stuccowork on the imposts of the columns dates from 1820. A few carved stucco panels along the upper walls of the central aisle, probably former windows, still date from the Aghlabid period. Inside the mihrab is a marble plaque covered in gold leaf and carved with an Aghlabid Kufic inscription with religious formulas such as the shahada. The minbar (pulpit) next to the mihrab is one of the oldest existing minbars after the minbar of Kairouan, though only some of its side panels are still originals from the Aghlabid period, with the others dating from later renovations. The latest pieces date from 1583 in the early Ottoman period. The minbar is smaller than the Kairouan minbar, measuring 2.53 by 3.30 metres. The wooden panels are carved with a variety of geometric and stylized vegetal motifs.

See also
List of the oldest mosques in the world

References 

Mosques in the medina of Tunis
8th-century mosques
Mosques completed in 731
Aghlabid architecture