page_title: Tunisia
section_title: Ottoman Tunisia
hierarchical_section_title: Tunisia / History / Ottoman Tunisia
caption_attribution_description: English: Bab Souika in Tunis (Tunisia, 1899). Français&#160;: Bab Souika à Tunis (Tunisie, 1899).
context_page_description: Tunisia, officially the Republic of Tunisia, is a country in the Maghreb region of North Africa, covering 163,610 square kilometres. Its northernmost point, Cape Angela, is also the northernmost point on the African continent. Tunisia is bordered by Algeria to the west and southwest, Libya to the southeast, and the Mediterranean Sea to the north and east. Tunisia's population was 11.7 million in 2019. Tunisia's name is derived from its capital city, Tunis, which is located on its northeast coast.
  Geographically, Tunisia contains the eastern end of the Atlas Mountains, and the northern reaches of the Sahara desert. Much of the rest of the country's land is fertile soil. Its 1,300 kilometres of coastline include the African conjunction of the western and eastern parts of the Mediterranean Basin.
  Tunisia is a unitary semi-presidential representative democratic republic. It is considered to be the only fully democratic sovereign state in the Arab world. It has a high human development index.
context_section_description: In the last years of the Hafsid dynasty, Spain seized many of the coastal cities, but these were recovered by the Ottoman Empire.
  The first Ottoman conquest of Tunis took place in 1534 under the command of Barbarossa Hayreddin Pasha, the younger brother of Oruç Reis, who was the Kapudan Pasha of the Ottoman Fleet during the reign of Suleiman the Magnificent. However, it was not until the final Ottoman reconquest of Tunis from Spain in 1574 under Kapudan Pasha Uluç Ali Reis that the Ottomans permanently acquired the former Hafsid Tunisia, retaining it until the French conquest of Tunisia in 1881.
  Initially under Turkish rule from Algiers, soon the Ottoman Porte appointed directly for Tunis a governor called the Pasha supported by janissary forces. Before long, however, Tunisia became in effect an autonomous province, under the local Bey. Under its Turkish governors, the Beys, Tunisia attained virtual independence. The Hussein dynasty of Beys, established in 1705, lasted until 1957. This evolution of status was from time to time challenged without success by Algiers. During this era the governing councils controlling Tunisia remained largely composed of a foreign elite who continued to conduct state business in the Turkish language.
  Attacks on European shipping were made by corsairs, primarily from Algiers, but also from Tunis and Tripoli, yet after a long period of declining raids the growing power of the European states finally forced its termination. Under the Ottoman Empire, the boundaries of Tunisia contracted; it lost territory to the west (Constantine) and to the east (Tripoli).
  The plague epidemics ravaged Tunisia in 1784–1785, 1796–1797 and 1818–1820.
  In the 19th century, the rulers of Tunisia became aware of the ongoing efforts at political and social reform in the Ottoman capital. The Bey of Tunis then, by his own lights but informed by the Turkish example, attempted to effect a modernizing reform of institutions and the economy. Tunisian international debt grew unmanageable. This was the reason or pretext for French forces to establish a protectorate in 1881.
caption: Medina quarter of Tunis, 1899
exif: {"Image ImageDescription": "Public Domain.  Suggested credit: Detroit Publishing/Library of Congress via pingnews.  Additional information from source:", "Image XResolution": "[]", "Image YResolution": "[]", "Image Software": "Picasa 3.0", "Image Artist": "Detroit Publishing", "Image Copyright": "This image is believed to be in the public domain according to the Library of Congress.", "Image ExifOffset": "342", "Thumbnail Compression": "JPEG (old-style)", "Thumbnail XResolution": "72", "Thumbnail YResolution": "72", "Thumbnail ResolutionUnit": "Pixels/Inch", "Thumbnail JPEGInterchangeFormat": "562", "Thumbnail JPEGInterchangeFormatLength": "7285", "EXIF ExifVersion": "0210", "EXIF DateTimeOriginal": "2007:12:03 00:32:15", "Interoperability InteroperabilityVersion": "[48, 49, 48, 48]", "EXIF InteroperabilityOffset": "416", "EXIF ImageUniqueID": "5a9a101f83cdbbe4694f2beb5fd2377f"}