page_title: Tunis
section_title: Early Islamic period
hierarchical_section_title: Tunis / History / Early Islamic period
caption_attribution_description: English: This folio from Walters manuscript W.658 contains a map of the Tunisian coast with the ports of Bizerte (Binzert) and Tunis (Tunus) as far as Kelibia (Qalabiyah).
context_page_description: Tunis is the capital and largest city of Tunisia. The greater metropolitan area of Tunis, often referred to as "Grand Tunis", has about 2,700,000 inhabitants, making it the third-largest city in the Maghreb region and the sixteenth-largest in the Arab world.
  Situated on a large Mediterranean Sea gulf, behind the Lake of Tunis and the port of La Goulette, the city extends along the coastal plain and the hills that surround it. At its core lies its ancient medina, a World Heritage Site. East of the medina through the Sea Gate begins the modern city, or Ville Nouvelle, traversed by the grand Avenue Habib Bourguiba, where the colonial-era buildings provide a clear contrast to smaller, older structures. Further east by the sea lie the suburbs of Carthage, La Marsa, and Sidi Bou Said. As the capital city of the country, Tunis is the focus of Tunisian political and administrative life; it is also the centre of the country's commercial and cultural activities. It has two cultural centres, as well as a municipal theatre that is used by international theatre groups and a summer festival, the International Festival of Carthage, which is held in July.
context_section_description: When the Arab Muslim troops conquered the region at the end of the 7th century, they established themselves at the outskirts of ancient Tunes, and the small town soon became the city of Tunis that could easily be taken for an Arab foundation. The medina of Tunis, the oldest section of the city, dates from this period, during which the region was conquered by the Umayyad emir Hasan ibn al-Nu'man al-Ghasani. The city had the natural advantage of coastal access, via the Mediterranean, to the major ports of southern Europe. Early on, Tunis played a military role; the Arabs recognized the strategic importance of its proximity to the Strait of Sicily. From the beginning of the 8th century Tunis was the chef-lieu of the area: it became the Arabs' naval base in the western Mediterranean Sea, and took on considerable military importance. Under the Aghlabids, the people of Tunis revolted numerous times, but the city benefited from economic improvements and quickly became the second most important in the kingdom. It was briefly the national capital, from the end of the reign of Ibrahim II in 902, until 909 when control over Ifriqiya was lost to the newly founded Fatimid Caliphate.
  Local opposition to the authorities began to intensify in September 945, when Kharijite insurgents occupied Tunis, resulting in general pillaging. With the rise of the Zirid dynasty Tunis gained importance, but the Sunni population tolerated Shi'ite rule less and less, and carried out massacres against the Shi'ite community. In 1048 the Zirid ruler Al-Muizz ibn Badis rejected his city's obedience to the Fatimids and re-established Sunni rites throughout all of Ifriqiya. This decision infuriated the Shi'ite caliph Al-Mustansir Billah. To punish the Zirids, he unleashed the Banu Hilal Arab tribe on Ifriqiya; a large part of the country was set to the torch, the Zirid capital Kairouan was razed in 1057, and only a few coastal towns, including Tunis and Mahdia, escaped destruction. Exposed to violence from the hostile tribes that settled around the city, the population of Tunis repudiated the authority of the Zirids and swore allegiance to the Hammadid prince El Nacer ibn Alennas, who was based in Béjaïa, in 1059. The governor appointed by Béjaïa, having reestablished order in the country, did not hesitate to free himself from the Hammadids to found the Khurasanid dynasty with Tunis as its capital. This small independent kingdom picked up the threads of trade and commerce with other nations, and brought the region back to peace and prosperity.
caption: Historic map of Tunis by Piri Reis. The Walters Art Museum.
exif: {}