# Beylik of Tunis

The Beylik of Tunis (Arabic: بايلك تونس) was a de facto independent state located in present-day Tunisia, formally part of the Ottoman Empire. It was ruled by the Husainid dynasty from 1705 until the establishment of the French protectorate of Tunisia in 1881. The term beylik refers to the monarch, who was called the Bey of Tunis. Under the protectorate, the institution of the Beylik was retained nominally, 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 institution of the Beylik was finally abolished one year after independence on 25 July 1957 when the republic was declared.

## History

Part of a series on the :
History of Tunisia :
PrehistoricPrehistory :
Ancient Carthage12th C.–146 BC 1st Roman (Province)146 BC–435 Vandal435–534 2nd Roman (Byzantine) / Byzantine North Africa534–698 Prefecture534–590 Exarchate590–698 :
Early Islamic Umayyad698–750 Abbasid750–800 Aghlabid800–909 Fatimid909–973 :
Medieval Zirid973–1148 Norman1148–1160 Almohad1160–1229 Hafsid1229–1574 :
Early modern Ottoman 1574–1705 Husainid 1705–1881 :
Modern French rule 1881–1956 Kingdom of Tunisia 1956–1957 Bourguiba rule 1957–1987 Ben Ali coup 1987 Ben Ali rule 1987–2011 Tunisian revolution 2010–2011 Political crisis 2013–2014 COVID-19 pandemic 2020 Saied self-coup 2021 :
Africa portal • History portal :
vte :

### Establishment of the beylik (1705–1735)

Following the Revolutions of Tunis which saw Ibrahim Sharif overthrow Muradids' power, the latter became the first bey to combine this function with that of Pasha. Taken to Algiers following a defeat against the Dey of Algiers, and unable to put an end to the troubles which agitated the country, he was a victim, on 10 July 1705 of a coup of Al-Husayn I ibn Ali, who took the name of Hussein I.
Hussein I reigned alone over Tunisia, establishing a real monarchy and became Possessor of the Kingdom of Tunis, disposing over all his subjects the right of high and low justice. His decrees and decisions had the force of law.
As Bey of Tunis he sought to be perceived as a popular Muslim interested in local issues and prosperity. He appointed as qadi a Tunisian Maliki jurist, instead of an Hanafi preferred by the Ottomans. He also restricted the legal prerogatives of the janissary and the Dey. Under Hussein I, support was provided to agriculture, especially planting olive orchards. Public works were undertaken, e.g., mosques and madrassa (schools). His popularity was demonstrated in 1715 when the kapudan-pasha of the Ottoman fleet sailed to Tunis with a new governor to replace him; instead Hussein I summoned council, composed of local civil and military leaders, who backed him against the Ottoman Empire, which then acquiesced.

### Wars and crisis to take the throne (1735–1807)

In 1735, Ali I gained access to the throne by dethroning his uncle Hussein I who was killed by his great-nephew Younès in 1740.
In 1756, Ali I was in turn overthrown by the two sons of his predecessor who seized Tunis with the help of the governor of Constantine: Muhammad I Rashid (1756–1759) and Ali II (1759–1782).
Algerian attempts to overthrow the Beys did not end until 1807, with a victory for the Tunisians led by Hammouda I.

### Stability and reforms (1807–1869)

In the 19th century, the country underwent profound reforms, thanks to the reformist action of Kheireddine Pacha and his close advisers: the Minister of the Interior General Rustum, the Minister of Instruction General Hussein, the Minister Bin Diyaf and the ulama Mahmoud Kabadou, Salem Bouhageb and Mokhtar Chouikha.
Among these, are the abolition of slavery, the foundation of the military school of Bardo in 1840, the Sadiki College in 1875, and the adoption in 1861 of the first constitution of Africa and the Arab world, becoming a constitutional monarchy.

### Financial crisis and foreign interference (1869–1881)

The financial crises in the country followed, with Mustapha Khaznadar as prime minister, which constituted an opportunity for European intervention in Tunisia. Thus, the Financial Commission, an international financial committee, was formed in 1869, under pressure from some European countries, in a circumstance in which the Tunisian financial crisis intensified and it became impossible for the state to pay its foreign debts, which at that time amounted to 125 million francs.
This committee was placed under the chairmanship of the reformed minister Kheireddine Pacha, and later devolved to Mustapha Ben Ismail, and it also included representatives of the creditor countries (Italy, England, and France). The Commission was one of the manifestations of foreign interference in the internal affairs of Tunisia by subjecting its finances to international control. The country's revenues were divided into two parts, one part allocated to the state's expenditures and the other to the payment of its debts. So the Bey was restricted, he could no longer grant any concession or conclude any loan agreement except with the approval of the Commission, which acted as a Tunisian Ministry of Finance. This facilitated the conclusion of a bilateral treaty between Tunisia and France in 1881 stipulating France's protection of Tunisia, and consequently, the French protectorate was established.

## Government

The Beylik of Tunis was a constitutional (1861–1864) and hereditary monarchy with legislative power being exercised by the monarch in conjunction with Supreme Council.

### Bey

The Bey is considered the leader of the Husainid dynasty, the head of the state, the symbol of its unity, and the protector of its borders. He also exercises power through the government and the Supreme Council, as stipulated in Article 12 of the 1861 Constitution.
What distinguishes the system of government at that time, is that the monarch is responsible before Supreme Council in accordance with Article 11 of the Constitution, which is one of the first countries in the world to stipulate it.
Article 13 of the constitution affirmed that the Bey (monarch) is the supreme commander of the Tunisian armed forces, and Article 9 affirmed as well that the 1857 Fundamental Pact must be respected by him.
Although the constitution limited his powers, he had the ability to appoint members of the Supreme Council, in addition to the fact that laws are issued in his name.
The Bey must be the eldest of the Husainid dynasty. The second after him becomes Bey El Mahalla (Bey of the Camp), which was a title for the heir apparent to throne. The title came the style of Highness. The last person to carry this title was Prince Husain Bey, Bey al-Mahalla.

### Prime minister

The prime minister of Tunisia during the era of the Beylik is the head of the government who was responsible for its affairs and was appointed and dismissed by the Bey. This office was created in 1759 with the beginning of the rule of Ali II and Rejeb Khaznadar was the first to take it, becoming the first prime minister in the history of Tunisia.
With its creation, this office was the preserve of the Mamluks of foreign origin who were brought to Tunisia at a young age in order to serve the Royal Family and the Makhzen, such as Mustapha Khaznadar, Kheireddine Pacha and others.
Mohammed Aziz Bouattour is considered the first indigenous Tunisian to hold the office in 1882, and by the way, he is the longest-serving Prime Minister in the history of Tunisia with a period of nearly 25 years, and during his term, the French protectorate was established in Tunisia.
The Prime Minister of Tunisia had an important authority in the 19th century, as everything related to the Royal Family was kept in his office according to Article 2 of the Constitution.
The Prime Minister, based on Section 9 of the Constitution, prepares the budget presented to him by the Ministry of Finance and submits it to Parliament in accordance with Article 64.

## Legislature

The Tunisian parliament was called the Supreme Council (Arabic: المجلس الأكبر). It was an institution that was established during the reign of Muhammad III in a period characterized by the adoption of many reforms, including the declaration of the Fundamental Pact (1857), the Tunisian Journal (1860) and the adoption of the Constitution (1861).
According to Article 44 of this constitution, this council was composed of 60 members: 20 members were chosen among the senior officials and high-ranking officers of the state, and 40 chosen among the notables who do not receive remuneration. Among its members were Ahmad ibn Abi Diyaf and Giuseppe Raffo.
The functions of the Council were fixed in Chapter 7 of the Constitution. The most important of these functions were to legislate, revise, explain and interpret laws, approve taxes, monitor ministers, and discuss the budget. These functions confirmed the importance of the Supreme Council as an institution that was at the same time legislative, financial, judicial and administrative.
This council was abandoned in 1864 after the Mejba Revolt.

## Politics
### Authority of the Bey

Husainid policy required a careful balance among several divergent parties: the distant Ottomans, the Turkish-speaking elite in Tunisia, and local Tunisians (both urban and rural, notables and clerics, landowners and remote tribal leaders). Entanglement with the Ottoman Empire was avoided; yet religious ties to the Caliph were fostered, which increased the prestige of the Beys and helped in winning approval of the local ulama and deference from the notables. Janissaries were still recruited, but increasing reliance was placed on tribal local forces. Turkish was spoken at the apex, but use of Tunisian Arabic increased in government use. Kouloughlis (children of mixed Turkish and Tunisian parentage) and native Tunisians notables were given increased admittance into higher positions and deliberations. The Husainid Beys, however, did not themselves intermarry with indigenous peoples; instead they often turned to the institution of mamluks for marriage partners. Mamluks also served in elite positions. The local ulama were courted, with funding for religious education and the clerics. Local jurists (Maliki) entered government service. Marabouts of the rural faithful were mollified. Tribal sheikhs were recognized and invited to conferences. Especially favored at the top were a handful of prominent families, Turkish-speaking, who were given business and land opportunities, as well as important posts in the government, depending on their loyalty to the Bey of Tunis.

### Relations with Europe

The French Revolution and reactions to it negatively affected European economic activity leading to shortages which provided business opportunities for Tunisia, i.e., regarding goods in high demand but short in supply, the result might be handsome profits. The capable and well-regarded Hammouda Pasha (1782–1813) was Bey of Tunis (the fifth) during this period of prosperity; he also turned back an Algerian invasion in 1807, and quelled a janissary revolt in 1811.
After the Congress of Vienna in 1815, Britain and France secured the Bey's agreement to cease sponsoring or permitting corsair raids, which had resumed during the Napoleonic conflict. After a brief resumption of raids, it stopped. In the 1820s economic activity in Tunisia took a steep downturn. The Tunisian government was particularly affected due to its monopoly positions regarding many exports. Credit was obtained to weather the deficits, but eventually the debt would grow to unmanageable levels. Tunisia had sought to bring up to date its commerce and trade. Yet different foreign business interests began to increasingly exercised control over domestic markets; imports of European manufactures often changed consumer pricing which could impact harshly on the livelihood of Tunisian artisans, whose goods did not fare well in the new environment. Foreign trade proved to be a Trojan Horse.

### Importance of Tunisian Navy

Activities of maritime corsairs were important at that time because independence from the sultan led to the decline of its financial support and Tunisia therefore had to increase the number of its catches at sea in order to survive.
The Tunisian Navy reached its peak during the reign of Hammouda I (1782–1814), where ships, leaving from the ports of Bizerte, La Goulette, Porto Farina, Sousse, Sfax and Djerba, seized Spanish, Corsican, Neapolitan, Venetians, etc. The Tunisian government maintained during this period from 15 to 20 corsairs, the same number of them being attached to companies or individuals, among whom sometimes high-ranking figures such as the Keeper of the Seals Moustapha Khodja or the caïds of Bizerte, Sfax or Porto Farina, and give the government some of their catches, which include Christian slaves.
The peace treaties, which multiplied in the 18th century (with Austria in 1748 and 1784, Venice in 1764–1766 and 1792, Spain in 1791 and the United States in 1797) regulated the navy and limited its effects.
First of all, the treaties imposed requirements (possession of authorizations for ships and passports for people) and also identified the conditions for catches at sea (distance from the coast), so as to avoid possible abuses. The situation remained the same until the Congress of Vienna and the Congress of Aix-la-Chapelle when European countries summoned Tunisia to put an end to this, which would be effective and definitive after the intervention of France in this question in 1836.

### Financial policy

The taxes in Tunisia in 1815 (2,2 million gold francs) were not profitable. At the same time, the Bey coveted Tripolitania. In 1848, to maintain his army of 5,000 soldiers, the Bey increased taxation, which provoked a revolt, finally put down. Taxation is reduced, but a loan of 35 million gold francs, at a rate of 7%, is contracted with French bankers.
However, reckless spending continued: a Versailles-style palace, in Mohamedia, and another in La Goulette, a military school and an arsenal. Worse, the finance minister Mahmoud Ben Ayed fled to France with the government budget. However, the diversions continued under his successors. This situation pushed the speaker of the Supreme Council, Kheireddine Pacha, to resign and the Supreme Council to be dissolved.
At the beginning of 1864, a serious crisis broke out due to poor financial management on the part of Prime Minister Mustapha Khaznadar: the public debt, heavy loans abroad contracted under catastrophic conditions (continuation of embezzlement) and doubling of the tax lead to a new revolt of the tribes of the center of the country who refused to pay this tax. Shortly after the Revolt of Mejba, the Bey ordered to collect the taxes. At the same time, Haydar Afendi, ambassador of the Ottoman Empire, arrived with financial aid to remedy the situation. The sum offered is entrusted by the Bey to Khaznadar. But the latter recovered this sum for his personal use. Once again, a loan of 30 million gold francs had to be contracted, which provoked the intervention of the European countries (in particular France). In this context, the constitution was even suspended on 1 May 1864.

## Major reforms
### Sovereign state

Tunisia was one of the first countries in the region to adopt the pillars of modern state sovereignty. The Beylik adopted a national flag distinguished from the rest. In fact, several Muslim countries along the south coast of the Mediterranean Sea used a plain red naval flag. After the destruction of the Tunisian naval division at the Battle of Navarino on 20 October 1827, the Bey Hussein II decided to create a flag to use for the fleet of Tunisia, to distinguish it from other fleets. It has been adopted as the national flag of Tunisia since 1831 until now. This made the Tunisian flag the oldest Arab and African flag, and among the ten oldest flags in the world.
The coat of arms has been adopted also since the beginning of the 19th century in red and green, which are the colors of the ruling Husainid dynasty. The coat of arms's colors had an impact on Tunisian public culture. Because these colors are also those of the football club of the Stade Tunisien which was under patronage of the royal family. They are also found in Tunisian pastries: one, called Bey sigh, is made of pink, green and white marzipan; the other, called bey's baklawa, is a form of Tunisian baklava.
A new coat of arms for Tunisia was adopted in 1858 during the reign of Sadok Bey, while preserving the same green and red dynasty colors, according to Henry Dunant after his visit to Tunisia, with the modernization of the national emblem and the addition of the phrase Oh God of hidden kindness, save this Kingdom of Tunis. This was due to that period in which epidemics abounded in the Kingdom and led to human losses, in addition to the spread of Sufism in Tunisian culture, which used to call God as the owner of hidden kindness, influenced by Sidi Belhassen Chedly.
Tunisia also adopted a national anthem as one of the pillars of national sovereignty, and that was in 1846, it was called Salam El Bey (Beylical anthem). It was sung in honour of the Bey. Initially without lyrics, but words were written by an unknown poet and were adapted to the melody of the anthem. According to historian Othman Kaak, the music was composed by Giuseppe Verdi.

### European trade

Starting early in the 19th century, Tunisia came increasingly under European influence. Under the Husainid Beys, trade and commerce with the Europeans increased year after year. Permanent residences were established in Tunis by many more foreign merchants, especially Italians. In 1819, the Bey agreed to quit with finality corsair raids. Also the Bey agreed with France to terminate his revenue policy whereby government agents dominated foreign trade by monopolizing the export of Tunisian goods; this change in policy opened the country to international commercial firms. In 1830 the Bey accepted to enforce in Tunisia treaties, in which European merchants enjoyed extraterritorial privileges, including the right to have their resident consuls act as the judge in legal cases involving their national's civil obligations. Also in 1830 the French royal army occupied the central coastal lands in neighboring Algeria. At that time, they were inexperienced about and lacked the knowledge of how to develop a colony.

### Military policy

After defeating Algeria in 1807, the army maintained the same structure, but Ahmad I wanted to change the military policy and was keen to reform and modernize the armed forces, especially since France occupied Algeria in 1830 and its army became a threat to Tunisia. He was also influenced by what he saw during his visit to France of architectural progress, especially in the organization of their army, which made him want to follow their strategy and form a Tunisian army on the French style.
In a major step, the Bey initiated the recruitment and conscription of individual Tunisians (instead of foreigners or by tribes) to serve in the army and navy, a step which would work to reduce the customary division between the state and its citizens. So, he founded the Bardo Military Academy in 1840 for Tunisian soldiers to graduate from, relying on French assistance. He also worked to provide the necessary equipment to improve the army, so he took care of some industries, such as the gunpowder industry in Tunisia, and created a sophisticated navy.
As part of his maneuvering to maintain Tunisia's sovereignty, Ahmed Bey sent 4,000 Tunisian troops against the Russian Empire during the Crimean War (1854–1856). In doing so he allied Tunisia with Turkey, France, and Britain.

### Abolition of slavery

On 29 April 1841, Ahmed I Bey had an interview with Thomas Reade who advised him to ban the slave trade. Ahmed Bey was convinced of the necessity of this action; and he was considered open to progress and quick to act against all forms of fanaticism. He decided to ban the export of slaves the same day that he met with Reade. Proceeding in stages, he closed the slave market of Tunis in August and declared in December 1842 that everyone born in the country would thereafter be free.
To alleviate discontent, Ahmed obtained fatwas from the ulama beforehand from the Bach-mufti Sidi Brahim Riahi, which forbade slavery, categorically and without any precedent in the Arab Muslim world. The complete abolition of slavery throughout the country was declared in a decree of 23 January 1846. However, although the abolition was accepted by the urban population, it was rejected (according to Ibn Abi Dhiaf) at Djerba, among the Bedouins, and among the peasants who required a cheap and obedient workforce.
This resistance justified the second abolition announced in a decree of Ali III Bey on 28 May 1890. This decree promulgated financial sanctions (in the form of fines) and penal sanctions (in the form of imprisonment) for those who continued to engage in the slave trade or to keep slaves as servants. The colonial accounts tended to pass over the first abolition and focus on the second.

### Fundamental Pact 1857

The Fundamental Pact of 1857 (Arabic: عهد الأمان) is a declaration of the rights of Tunisians and inhabitants in Tunisia promulgated by Muhammad II on 10 September 1857, as part of the reforms of the Kingdom of Tunis.
This pact provided revolutionary reforms: it proclaimed that everyone is equal before the law and before taxes, established freedom of religion and trade, and gave foreigners the right of access to property and exercise of all professions. This pact abolished the status of dhimmi for non-Muslims.
The pact was translated into Hebrew in 1862 and was then the first non-religious document to be translated into this language in Tunisia.
Considering this pact as a political genius act, Napoleon III awarded the grand cordon of the Legion of Honor with diamond insignia to Mohammed Bey at the Bardo Palace on 3 January 1858.
On 17 September 1860 in Algiers, Napoleon III awarded Sadok Bey, brother and successor of Mohammed Bey, the Grand Cordon of the Legion of Honor after he received from the latter a magnificent volume of the Fundamental Pact.

### Tunisian Journal 1860

The publication of the Tunisian Journal (Arabic: الرائد التونسي) was accompanied by a policy of modernization reforms. The first version was issued on 22 July 1860, and thus was the first official Arabic newspaper published weekly in Tunisia, and specialized in publishing royal orders and government decrees, in addition to an unofficial section of political news and literary issues. (The first private Arabic newspaper in Tunisia, Al-Hadira, would not be published until 1888.)
A number of Zitouna University professors who were loyal to reform and to Minister Kheireddine Pacha, such as Mahmoud Kabado, Salem Bouhageb, Bayram V, and Mohamed Snoussi were elected to the editorial in the government Journal.
The publication of the Journal continued from 1860 to 1882, during which the editors supported the reform-modern trend led by Minister Kheireddine Pacha.
The issuance of the Journal at that time was considered an important sign of modernizing the state and making individuals aware of the laws issued by the Bey and the government, although it was an opportunity for the political authority to give justification for its actions and legitimize its reforms. After the establishment of the French protectorate, it became a purely legal official journal in 1883, thus ending its literary and cultural role, and its name became the Official Tunisian Journal. With the proclamation of the Republic in 1957, its name was changed to the Official Journal of the Tunisian Republic, and it is issued to this day under this name.

### Constitution of 1861

Following the Fundamental Pact, a commission was set up to draft a real constitution; it was submitted on 17 September 1860 to Muhammad III, the new Bey after Muhammad II. The constitution came into effect on 26 April 1861. It was the first written constitution in Arab lands, as well as the first constitution established by a Muslim-majority country.
The text of 114 articles established a constitutional monarchy with a sharing of power between an executive branch consisting of the Bey and a prime minister, with important legislative prerogatives to a Supreme Council, creating a type of oligarchy. It established an independent judiciary; however the guardian of the constitution was the legislature which had sovereign authority to review unconstitutional acts by the executive. In addition, the sovereign was not free to dispose of the resources of the state and must maintain a budget, while he and the princes of his family were to receive stipends. Issues of national representation and elections were omitted. In fact in actual practice the members of the Supreme Council were appointed more through cronyism and favor swapping than national interest. Many of the old Mamluk class were appointed, keeping the bureaucracy firmly in Mamluk hands. For this reason, and others such as the provision for general military conscription and retaining the provisions granting rights to foreign nationals, many did not approve of the Bey's actions. Universal application of the mejba (head tax), under the equal taxation clause, incurred the wrath of those who had formerly been exempt: the military, scholars/teachers and government officials. Matters came to a head in 1864 when traditionalist Ali Ben Ghedhahem led a revolt against the Bey. The constitution was suspended as an emergency measure and the revolt was eventually suppressed. Ali Ben Ghedhahem was killed in 1867.

## Bankruptcy and establishment of protectorate

Due to the ruinous policies of the Bey and his government, rising taxes and foreign interference in the economy, the country gradually experienced serious financial difficulties. All this forced the government to declare bankruptcy in 1869 and to create an international Anglo-Franco-Italian financial commission chaired by the inspector of finances Victor Villet.
In 1873, Villet unveiled the diversions of Khaznadar who was replaced by Kheireddine Pasha. But Kheireddine's reforms displeased the oligarchs who forced him to resign in 1877. This was an opportunity for European countries (France, Italy and the United Kingdom) to enter the country.
Because Tunisia quickly appeared as a strategic issue of great importance due to the geographical location of the country, between the western and eastern basin of the Mediterranean. Tunisia is therefore the object of the rival desires of France and Italy: France had wishes to secure the borders of French Algeria and prevent Italy from thwarting its ambitions in Egypt and the Levant by controlling access to the Eastern Mediterranean.
Italy, faced with overpopulation, wanted a colonial policy in Tunisia, where the European minority were Italians. The French and Italian consuls tried to take advantage of the Bey's financial difficulties, with France counting on the neutrality of England (unwilling to see Italy take control of the Suez Canal route) and benefiting from Bismarck, who wanted divert it from the question of Alsace-Lorraine. After the Congress of Berlin from 13 June to 13 July 1878, Germany and England allowed France to put Tunisia under protectorate and this to the detriment of Italy, which saw this country as its reserved domain.
The incursions of Khroumir "looters" into Algerian territory provided a pretext for Jules Ferry, supported by Léon Gambetta in the face of a hostile parliament, to stress the need to seize Tunisia.
In April 1881, French troops entered without major resistance and managed to occupy Tunis in three weeks, without a fight. On 12 May 1881, the protectorate was formalized when Sadok Bey, threatened with being dismissed and replaced by his brother Taïeb Bey, signed the Bardo Treaty at the Ksar Saïd Palace. Prime Minister Mustapha Ben Ismail encouraged him also to sign the treaty. This allowed, a few months later, the French troops to face uprisings in Kairouan and Sfax.