Former Chadian president Hissene Habre, who has died at the age of 79, was a brutal dictator under whose eight-year reign tens of thousands of people were executed, tortured or jailed.
Sentenced to life after a landmark trial, Habre spent his final years as a prisoner in Senegal, where he died in hospital, Senegalese officials confirmed Tuesday.
In May 2016, Habre was handed a life term for war crimes, crimes against humanity and torture by the Extraordinary African Chambers, a tribunal created by Senegal and the African Union (AU).
The trial set a global precedent, establishing the first time that a country prosecuted a former leader of another nation for rights abuses.
The sentence was upheld in 2017.
The court ordered him to pay compensation to each victim who suffered rape, arbitrary detention and imprisonment during his rule, as well as to their relatives.
A desert warfare specialist, Habre's rule was marked by fierce crackdowns on dissent, including alleged torture and executions of opponents, earning him comparisons to Chilean dictator Augusto Pinochet.
Investigators found that more than 40,000 people were killed during his rule.
The son of a farmer, Habre was born in Faya-Largeau, northern Chad, and grew up among nomads in the Djourab desert.
His intelligence landed him a job as a local official before he left for Paris in 1963 to study law and attend Sciences-Po, the prestigious political science school. One of his influences at the time was Ernesto "Che" Guevara.
Habre joined the Chad National Liberation Front a year after returning home in 1971 and became its leader, before breaking away to form another rebel group, the Northern Armed Forces (FAN).
He made headlines in 1974 when he kidnapped a French ethnologist who was held for three years before France agreed to terms for her release.
A staunch nationalist, Habre then served as prime minister in the government of president Felix Malloum and as defence minister under his sometime ally Goukouni Weddeye who later became president.
Unlike Weddeye, Habre was an outspoken opponent of Libyan leader Moamer Kadhafi and the relationship did not last.
Habre broke from his Tripoli-backed ally just months after the formation of Weddeye's 1979 government, triggering violence in Chad's capital, N'Djamena.
He fled the city for eastern Chad in 1980, but returned to fight his way to power in 1982.
Two decades in Dakar
During his rule, opponents -- real or imagined -- were arrested, tortured and often executed by the dreaded Documentation and Security Directorate (DDS), Chad's secret police.
Habre's reign ended in 1990 as dramatically as it had begun when Idriss Deby, formerly a loyal general, led a rebel force that drove him from power and into exile in Senegal.
The former dictator lived freely for more than 20 years in an upmarket Dakar suburb with his wife and children, swapping his military garb for billowing white robes and a cap.
Habre was considered a discreet, generous neighbour and a pious Muslim who helped finance the construction of several mosques.
The AU mandated Senegal to try Habre in July 2006, but then president Abdoulaye Wade delayed the process for years despite an agreement to create a special court for the trial.
Belgium also sought Habre's arrest over allegations of war crimes and crimes against humanity after three Belgian nationals of Chadian origin filed a suit in 2000 for mass murder, arbitrary arrest and torture during his regime.
Brussels issued an arrest warrant for him in September 2005, and he was arrested in Senegal shortly after, but the African country said its courts did not have the jurisdiction to rule on a Belgian extradition request.
Habre was arrested again in Dakar on June 30, 2013, and the AU decided his trial should take place there, a world first.