Beylik of Tunis

Beylik of Tunis
بايلك تونس (Arabic)
1705–1881
Motto: يا ذا الألطاف الخفية احفظ هذه المملكة التونسية
"Oh God of hidden kindness, save this Kingdom of Tunis"
Anthem: Salam al-Bey (Beylical Anthem)
Kingdom (Beylik) of Tunis in 1707
StatusConstitutional monarchy (1861-1864)
CapitalTunis
Common languages
Religion
GovernmentConstitutional Monarchy
Bey 
• 1705–1735
Hussein I
• 1859–1881
Muhammad III
Prime Minister 
• 1759–1782
Rejeb Khaznadar
• 1878–1881
Mustapha Ben Ismaïl
LegislatureSupreme Council
Historical eraLate modern period
15 July 1705
12 May 1881
CurrencyTunisian rial
Preceded by
Succeeded by
Eyalet of Tunis
French protectorate of Tunisia
Today part ofTunisia

The Beylik of Tunis (Arabic: بايلك تونس) was the legal form of present-day Tunisia, between 1705 and 1881. It was ruled by the Husainid dynasty until the establishment of the French protectorate of Tunisia. The term beylik refers to the monarch, who was called the Bey of Tunis. Under the protectorate, the latter remained nominally the head of state, with the Husainids remaining as largely symbolic sovereigns.

The Beys remained faithful to the Sublime Porte, but reigned as monarchs after gradually gaining independence from the Ottoman Empire. Between 1861 and 1864, the Beylik of Tunis became a constitutional monarchy after adopting the first constitution in Africa and the Arab world. The country had its own currency and an independent army, and in 1831 it adopted its flag, which is still in use today.

The Husainid dynasty continued to rule Tunisia, even after the establishment of the French protectorate in 1881, and remained in existence until the republic was declared on 25 July 1957, one year after independence.