Tunisia's overthrown President Zine El Abidine Ben Ali died in exile in Saudi Arabia on Thursday, days after a free presidential election in his homeland. He was 83.
He had been in intensive care in a hospital for three months after battling prostate cancer for years.
"Ben Ali just died in Saudi Arabia," family lawyer Mounir Ben Salha told Reuters news agency by phone.
Tunisia's foreign minister confirmed his death.
Ben Ali fled Tunisia in January 2011 as his compatriots rose up against his oppressive rule in a revolution that inspired other Arab Spring uprisings abroad and led to a democratic transition at home.
On Sunday, Tunisians voted in an election that featured candidates from across the political spectrum, sending two political outsiders through to a second-round vote - something unthinkable during Ben Ali's own era of power.
However, while they have enjoyed a much smoother march to democracy than citizens of the other Arab states that also rose up in 2011, many Tunisians are economically worse off than they were under Ben Ali.
While almost all the candidates in Sunday's election were vocal champions of the revolution, one of them, Abir Moussi, campaigned as a supporter of Ben Ali's deposed government, receiving four percent of the vote.
"Tunisians themselves - if this most recent election on Sunday is any indication - have moved on from the Ben Ali regime," Leo Siebert from the United States Institute of Peace told Al Jazeera.
"Tunisia has firmly moved into democracy and to multi-party politics, and the death of Ben Ali spells kind of an important end for autocracy in Tunisia."
Corrupt and brutal
Little information has emerged on his life in exile in Saudi Arabia. Photos posted on Instagram in 2013 showed the former strongman smiling in striped pyjamas.
His body was being transferred to Mecca, where he is to be buried Friday in keeping with his last wishes, Ben Salha told The Associated Press.
Ben Ali promoted his country of 11 million as a beach haven for European tourists and a beacon of stability in volatile North Africa. It seemed as though he had offered his people a trade-off: There was a lack of civil rights and little or no freedom of speech, but a better quality of life than in nearby countries such as Algeria and Morocco.
A former security chief, Ben Ali had run Tunisia for 23 years, taking power when - as prime minister in 1987 - he declared president-for-life Habib Bourguiba medically unfit to rule.
In office, he sought to stifle any form of political dissent while opening up the economy, a policy that led to rapid growth but also fuelled grotesque inequality and accusations of brazen corruption, not least among his own relatives.
During that era, his photograph was displayed in every shop, school and government office from the beach resorts of the Mediterranean coast to the impoverished villages and mining towns of Tunisia's hilly interior.
On the few occasions his rule was put to the vote, he faced only nominal opposition and won re-election by more than 99 percent.
In 2011, a Tunisian court sentenced Ben Ali in absentia to 35 years in prison on charges ranging from corruption to torture, and in 2012 a military court sentenced him to another 20 years for inciting "murder and looting".
Ben Ali brooked no dissent or challenges to his authority during his 23-year rule.
The sudden end came for Ben Ali when a desperate vegetable seller in the humble town of Sidi Bouzid set himself alight in December 2010 after police confiscated his cart.
Mohammed Bouazizi's funeral was attended by tens of thousands of furious people, sparking weeks of ever bigger protests in which scores of people were killed.
By mid-January 2011, Ben Ali had had enough and boarded a plane for Saudi Arabia, seeking refuge in a state that prized stability and which later worked to counter uprisings in Bahrain and Egypt.
His rapid departure sparked a string of similar uprisings across the Middle East and North Africa, toppling Egyptian and Libyan strongmen Hosni Mubarak and Muammar Gaddafi.
The turmoil triggered what was to become Syria's devastating eight-year war.
Building a police state
Ben Ali's rise began in the army after Bourguiba won Tunisia's independence from France in 1956. He was head of military security from 1964, and of national security from 1977.
After a three-year stint as ambassador to Poland, he was called back to his old security job in 1984 to quell riots over bread prices. Now a general, he was made interior minister in 1986 and prime minister in 1987.
It took him less than three weeks to arrange a new promotion to the top job, bringing in a team of doctors to declare Bourguiba senile, meaning he would automatically take over as head of state.
His first decade as president involved a big economic restructuring - backed by the IMF and World Bank - and an annual growth rate slightly over four percent a year.
But critics said Tunisia was a police state where few dared challenge an all-powerful government. In a country where many had experienced life under democracy elsewhere, Ben Ali's oppressive state was a reason to chafe.
Meanwhile, the elite were accumulating wealth in their extravagant seaside villas, Ben Ali's early years of populist promises to the poor yielding them little. The lavish lifestyle of his wife, Leila Trabelsi and her clique of rich relatives, came to symbolise the corruption of an era.
Out in the provinces, in the shabby mining towns of the south and the rural villages without running water, anger was growing, leading to a small protest movement in 2008, sometimes called "the little revolution".
Eight years on from the real uprising, conditions of life are still tough in those areas, with unemployment higher than in 2010 and public services having deteriorated.