explain to me the history of tunisia starting from when the people starting demanding their independence from France. tell me about the presidents and the economic state of the country
user
Sure! 

During the 19th century, European, especially Italian influence increased in Tunisia. When Tunisia went bankrupt in 1869 Britain, France and Italy took control of Tunisian finances. Then in 1881 French troops entered from Algeria and forced the Tunisians to become a French protectorate. Tunisian nationalism soon grew and in the early 20th century an independence movement was formed. Then in 1940 when Germany conquered France Tunisia was ruled under the French Vichy government. The Germans occupied Tunisia in November 1942 but their troops surrendered to the allies in May 1943. After the Second World War, Tunisians continued to agitate for freedom. Finally on 20 March 1956, France agreed to Tunisian independence. The first election was held on 25 March 1956. At first, Tunisia was a constitutional monarchy but in 1957, it became a republic. Habib Bourguiba became the first president. In 1975, he was made president for life but in 1987 he was removed from power and was replaced by Zine El Abidine Ben Ali. Meanwhile, oil was discovered in Tunisia in 1964 while in international affairs Tunisia adopted a non-aligned stance. However, in 2011, there was unrest in Tunisia in 2011 and Ben Ali was forced to flee. A new chapter in the history of Tunisia began. Elections were held in Tunisia in October 2011. a new constitution was adopted in 2014.

Ranked the most competitive economy in Africa by the World Economic Forum in 2009. Tunisia is an export-oriented country in the process of liberalizing and privatizing an economy that, while averaging 5% GDP growth since the early 1990s, has suffered from corruption benefiting politically connected elites. Tunisia's Penal Code criminalises several forms of corruption, including active and passive bribery, abuse of office, extortion and conflicts of interest, but the anti-corruption framework is not effectively enforced. However, according to the Corruption Perceptions Index published annually by Transparency International, Tunisia was ranked the least corrupt North African country in 2016, with a score of 41. Tunisia has a diverse economy, ranging from agriculture, mining, manufacturing, and petroleum products, to tourism, which accounted for 7% of the total GDP and 370,000 jobs in 2009. In 2008 it had an economy of US$41 billion in nominal terms, and $82 billion in PPP.
assistant
That's a bit too much to read! Could you please summarize it in 100 words or less.
user
Sure! Tunisia gained independence from France in 1956, following a period of protests and civil resistance. Habib Bourguiba became the first president and led the country until 1987 when he was overthrown by Zine El Abidine Ben Ali in a bloodless coup. Ben Ali was president for 23 years until he was forced to flee the country during the Arab Spring in 2011. Since then, Tunisia has transitioned to a democratic system with several presidents, including Moncef Marzouki and Beji Caid Essebsi. The country has faced economic challenges, including high unemployment and inflation, exacerbated by political instability and the COVID-19 pandemic.
assistant