Ebrahim Raisi stood close to the pinnacle of power in the Islamic Republic and was widely tipped to rise to its very top.
A dramatic turn dealt him a different hand.
His death in a helicopter crash on Sunday has upended the growing speculation over who will eventually replace the 85-year-old Supreme leader, Ayatollah Ali Khamenei, whose own health has long been the focus of intense interest.
The tragic fate of Iran’s hardline president is not expected to disrupt the direction of Iranian policy or jolt the Islamic Republic in any consequential way.
But it will test a system where conservative hardliners now dominate all branches of power, both elected and unelected.
“The system will make a massive show of his death and stick to constitutional procedures to show functionality, while it seeks a new recruit who can maintain conservative unity and loyalty to Khamenei,” observes Dr Sanam Vakil, director of the Middle East and North Africa programme at the Chatham House think tank.
Raisi’s opponents will hail the exit of a former prosecutor accused of a decisive role in the mass execution of political prisoners in the 1980s which he denied; they will hope the end of his rule hastens the end of this regime.
For Iran’s ruling conservatives, the state funeral will be an occasion freighted with emotion; it will also be an opportunity to start sending their signals of continuity.
They know the world is watching.
“For 40 some years, in Western narratives, Iran was supposed to collapse and fall apart,” Professor Mohammed Marandi of Tehran University told the BBC.
“But somehow, miraculously, it’s still here and I predict it will still be here in years to come.”
Sophie Anderson, a UK-based writer, is your guide to the latest trends, viral sensations, and internet phenomena. With a finger on the pulse of digital culture, she explores what’s trending across social media and pop culture, keeping readers in the know about the latest online sensations.