Revolutionary Guards commander Qasem Soleimani, who was killed Friday in a US strike, was one of the most popular figures in Iran and seen as a deadly adversary by America and its allies.
General Soleimani, who headed the external operations Quds Force for the Guards, had wielded his regional clout publicly since 2018 when it was revealed that he had direct involvement in top-level talks over the formation of Iraq's government.
It was no surprise at the time for a man who has been at the centre of power-broking in the region for two decades.
Soleimani has been in and out of Baghdad ever since, most recently last month as parties sought to form a new government.
Where once he kept to the shadows, Soleimani has in recent years become an unlikely celebrity in Iran -- replete with a huge following on Instagram.
His profile rose suddenly when he was pushed forward as the public face of Iran's intervention in the Syrian conflict from 2013, appearing in battlefield photos, documentaries -- and even being featured in a music video and animated film.
In a rare interview aired on Iranian state television in October, he said he was in Lebanon during the 2006 Israel-Hezbollah war to oversee the conflict.
To his fans and enemies alike, Soleimani was the key architect of Iran's regional influence, leading the fight against jihadist forces and extending Iran's diplomatic heft in Iraq, Syria and beyond.
"To Middle Eastern Shiites, he is James Bond, Erwin Rommel and Lady Gaga rolled into one," wrote former CIA analyst Kenneth Pollack in a profile for Time's 100 most influential people in 2017.
"To the West, he is... responsible for exporting Iran's Islamic revolution, supporting terrorists, subverting pro-Western governments and waging Iran's foreign wars," Pollack added.
With Iran roiled by protests and economic problems at home, and the US once again mounting pressure from the outside, some Iranians had even called for Soleimani to enter domestic politics.
While he has dismissed rumours he might one day run for president, the general has played a decisive role in the politics of Iran's neighbour, Iraq.
As well as talks on forming a government, he was pivotal in pressuring Iraq's Kurds to abandon their plans for independence after an ill-judged referendum last September.
His influence has deep roots since Soleimani was already leading the Quds Force when the US invaded Afghanistan in 2001.
"My Iranian interlocutors on Afghanistan made clear that while they kept the foreign ministry informed, ultimately it was General Soleimani that would make the decisions," former US ambassador to Iraq Ryan Crocker told the BBC in 2013.
His firm but quiet presence play perfectly to the Iranian penchant for dignified humility.
"He sits over there on the other side of the room, by himself, in a very quiet way. Doesn't speak, doesn't comment, just sits and listens. And so, of course, everyone is thinking only about him," a senior Iraqi official told the New Yorker for a long profile of Soleimani.
A survey published in 2018 by IranPoll and the University of Maryland -- one of the few considered reliable by analysts -- found Soleimani had a popularity rating of 83 per cent, beating President Hassan Rouhani and Foreign Minister Mohammad Javad Zarif.
Western leaders saw him as central to Iran's ties with militia groups including Lebanon's Hezbollah and Palestinian Hamas.
Part of his appeal was the suggestion he might bridge Iran's bitter social divides on issues such as its strict "hijab" clothing rules.
"If we constantly use terms such as 'bad hijab' and 'good hijab', reformist or conservative... then who is left?" Soleimani said in a speech to mark World Mosque Day in 2017.
"They are all people. Are all your children religious? Is everybody the same? No, but the father attracts all of them."