At the age of 97, Mahathir Mohamad is a name that has dominated Malaysian politics for decades.
Mr Mahathir first served as the country's prime minister for 22 years, from 1981 to 2003.
He is widely credited for Malaysia's rapid economic development and transformation from the 1980s.
In 2018, he came out of retirement in a bid to take down former prime minister Najib Razak - who had been accused of embezzling hundreds of millions in state funds.
With the help of former rival Anwar Ibrahim, Mr Mahathir was voted in again as the country's prime minister, while Mr Najib was charged and eventually jailed on charges of money laundering and abuse of power.
But the alliance proved unable to withstand the weight of internal rivalries, and in February 2020 Mr Mahathir found himself ousted in a twist of events that saw the collapse of the governing Pakatan Harapan coalition.
However, the two-time premier continues to be an influential figure in the country, although his legacy has been mixed.
Mr Mahathir joined political party United Malays National Organisation at the age of 21 and ran a medical practice for seven years in his home state of Kedah before becoming a member of parliament in 1964.
In 1969 he lost his seat and was expelled from the party after writing an open letter attacking the then Prime Minister Tunku Abdul Rahman.
He later wrote a controversial book entitled The Malay Dilemma. In it, he argued that the country's Malay population had been marginalised, but also castigated them for apathetically accepting a second-class status.
It struck a chord with younger UMNO leaders and he was invited back into the party, re-elected to parliament in 1974, and appointed minister of education. Within four years he had become UMNO's deputy leader and, in 1981, he became prime minister.
Under his rule, Malaysia transformed into one of the Asian economic tigers of the 1990s - prestige projects such as the Petronas Twin Towers demonstrated the extent of his ambitions.
His authoritarian but pragmatic policies won him popular support at home, though this was tempered by his scant regard for human rights.
Black eye for democracy
Opposition politicians were jailed without trial under a much-criticised Internal Security Act.
Most infamously, his deputy prime minister, Anwar Ibrahim, was sacked, accused of corruption and sodomy and later jailed on the latter charge, when he called for economic and political reforms in 1998.
Frequent barbed comments about the West also earned Mr Mahathir a reputation abroad. Days before he resigned in October 2003, for example, he angered several foreign governments and Jewish groups by claiming a Jewish cabal "ruled the world".
He said he left his post "disappointed... because I have achieved too little in my principal task of making my race a successful race, a race that is respected".
Even in retirement, he never really left the political arena.
He publicly criticised his successor Abdullah Badawi and, after lacklustre election results for the ruling coalition in 2008, quit the party in what many saw as a way to pressure Mr Abdullah to go.
That paved the way for Mr Najib to come to power.
Mr Mahathir's initial support for Mr Najib changed, however, as accusations of corruption against him surfaced in regard to a heavily indebted state investment fund called 1Malaysia Development Berhad (1MDB).
He commanded enough loyalty from supporters within UMNO to press the case against Mr Najib from within the party and government.
When they got nowhere, however, he, and several high-profile supporters quit UMNO and crossed over to the opposition in 2016.
In January 2018, he announced his intention to contest the election, at the age of 92.
On 9 May, he won a historic victory, ousting his former allies after more than 60 years in power.
He, together with Mr Anwar and several other parties, formed the Pakatan Harapan coalition, which ruled the country for two years before it collapsed.
Mr Mahathir threw the country's politics into turmoil in late February 2020 when he resigned, breaking his alliance with Mr Anwar.
After his resignation, he and Mr Anwar later announced that they had, in fact, reunited again and commanded majority support.
But the king, Sultan Abdullah Sultan Ahmad Shah, who had ultimate say on who should form a government, chose Mr Muhyiddin.
A former interior minister, Mr Muhyiddin once controversially described himself as "Malay first" and Malaysian second.
He, too, did not stay in power long - resigning in August last year after just 17 months in power and yielding his place to current premier Ismail Sabri Yaakob because he had lost majority support in parliament.