TEHERAN (AFP) - Dressed in a black turban and cleric's coat, Iranian ultra-conservative Ebrahim Raisi casts himself as an austere and pious figure and a corruption-fighting champion of the poor.
On Saturday (June 19), the 60-year-old was named the winner of the Islamic republic's presidential election, set to take over from moderate Hassan Rouhani in August.
Critics charge the election was skewed in his favour as strong rivals were disqualified, but to his loyal supporters he is Iran's best hope for standing up to the West and bringing relief from a deep economic crisis.
Mr Raisi is not renowned for great charisma but, as head of the judiciary, has driven a popular campaign to prosecute corrupt officials.
In the election campaign he vowed to keep up the fight on graft, construct four million new homes for low-income families and build "a government of the people for a strong Iran".
Many Iranian media outlets see him as a possible successor to supreme leader, Ayatollah Ali Khamenei, who turns 82 next month.
Mr Raisi, whose black turban signifies direct descent from Islam's Prophet Mohammed, holds the title of "hojatoleslam" - literally "proof of Islam" - one rank below that of ayatollah in the Shi'ite clerical hierarchy.
Like other ultra-conservatives, he harshly criticised Mr Rouhani's camp after the 2015 nuclear deal was torpedoed by then United States President Donald Trump, who reimposed punishing sanctions.
But, like Iranian political figures across the spectrum, Mr Raisi supports efforts to revive the deal to bring relief from Iran's painful economic crisis.
Student of the guide
Born in 1960 in the holy city of Mashhad in north-eastern Iran, Mr Raisi rose to high office as a young man.
Aged just 20, in the wake of the 1979 Islamic Revolution that toppled the US-backed monarchy, Mr Raisi was named prosecutor-general of Karaj, which neighbours Teheran.
For the exiled opposition and rights groups, his name is indelibly associated with the mass executions of Marxists and other leftists in 1988, when he was deputy prosecutor of the Revolutionary Court in Teheran.
Asked in 2018 and again last year about the executions, Mr Raisi denied playing a role, even as he lauded an order he said was handed down by the Islamic republic's founder Ayatollah Ruhollah Khomeini to proceed with the purge.
In 2019, the US placed Mr Raisi and others on a sanctions list citing the executions and other alleged rights abuses - charges Teheran dismissed as symbolic.
Mr Raisi has decades of judicial experience, serving as Teheran's prosecutor-general from 1989 to 1994, deputy chief of the Judicial Authority for a decade from 2004, and then national prosecutor-general in 2014.
He studied theology and Islamic jurisprudence under Ayatollah Khamenei and, according to his official biography, has been teaching at a Shi'ite seminary in Mashhad since 2018.
In 2016, Ayatollah Khamenei put Mr Raisi in charge of a charitable foundation that manages the Imam Reza shrine in Mashhad and controls a large industrial and property asset portfolio.
Three years later, Ayatollah Khamenei appointed him head of the Judicial Authority. Mr Raisi is also a member of the assembly of experts who select the supreme leader.
He is married to Professor Jamileh Alamolhoda, an educational sciences lecturer at Teheran's Shahid-Beheshti University. They have two daughters.
Mr Raisi is the son-in-law of Mr Ahmad Alamolhoda, the Friday prayer imam and supreme leader's representative for Mashhad.
His election win comes after he lost to Mr Rouhani in 2017. This time, five ultra-conservatives and two reformists were approved to run after many other prominent figures were disqualified.
Mr Raisi gathered support from traditional conservatives, who are close to the Shi'ite clergy and the influential merchant class, as well as ultraconservatives who are united in a their anti-Western stance.
He also sought to extend a hand beyond his traditional base, by pledging to defend "freedom of expression" and "the fundamental rights of all Iranian citizens".
Mr Raisi has also vowed to eradicate "corruption hotbeds" - a theme he already pursued in his judicial role, through a spate of highly publicised corruption trials of senior state officials.
Even judges have not been spared by his much-trumpeted anti-graft drive; several have been sentenced over the past year.
Mr Raisi has also taken a hard line against protest groups. When the Green Movement in 2009 rallied against populist President Mahmoud Ahmadinejad winning a disputed second term, he was uncompromising.
"To those who speak of 'Islamic compassion and forgiveness', we respond: We will continue to confront the rioters until the end and we will uproot this sedition," he said.