For Iranians whose icons since the Islamic Revolution have been stern-faced clergy, Maj Gen Qasem Soleimani widely represented a figure of national resilience in the face of four decades of United States pressure.
For the US and Israel, he was a shadowy figure in command of Iran's proxy forces, responsible for fighters in Syria backing President Bashar Assad and for the deaths of American troops in Iraq.
Solemani survived the horror of Iran's long war in the 1980s with Iraq to take control of the Revolutionary Guards elite Quds Force, responsible for the Islamic Republic's foreign campaigns.
Relatively unknown in Iran until the 2003 US invasion of Iraq, Soleimani's popularity and mystique grew out American officials calling for his killing. By the time it came a decade and a half later, Soleimani had become Iran's most recognisable battlefield commander, ignoring calls to enter politics but becoming as powerful, if not more, than its civilian leadership.
A US airstrike killed Soleimani, 62, and others as they traveled from Baghdad's international airport early Friday morning. The Pentagon said President Donald Trump ordered the US military to take decisive defensive action to protect US personnel abroad by killing a man once referred to by Iran's Supreme Leader Ayatollah Ali Khamenei as a living martyr of the revolution.
Soleimani's luck ran out after being rumored dead several times in his life. Those incidents included a 2006 airplane crash that killed other military officials in northwestern Iran and a 2012 bombing in Damascus that killed top aides of Assad.
More recently, rumors circulated in Nov 2015 that Soleimani was killed or seriously wounded leading forces loyal to Assad as they fought around Syria's Aleppo.
Iranian officials quickly vowed to take revenge amid months of tensions between Iran and the US following Trump pulling out of Tehran's nuclear deal with world powers. While Soleimani was the Guard's most prominent general, many others in its ranks have experience in waging the asymmetrical, proxy attacks Iran's opponents accuse the country of.
"Trump through his gamble has dragged the US into the most dangerous situation in the region," Hessameddin Ashena, an adviser to Iran's President Hassan Rouhani, wrote on the social media app Telegram.
"Whoever put his foot beyond the red line should be ready to face its consequences."
Born on March 11, 1957, Soleimani was said in his homeland to have grown up near the mountainous and the historic Iranian town of Rabor, famous for its forests, its apricot, walnut and peach harvests and its brave soldiers. The US State Department has said he was born in the Iranian religious capital of Qom.
Little is known about his childhood, though Iranian accounts suggest Soleimani's father was a peasant who received a piece of land under the Shah Mohammad Reza Pahlavi, but later became encumbered by debts.
By the time he was 13, Soleimani began working in construction, later as an employee of the Kerman Water Organisation. Iran's 1979 Islamic Revolution swept the shah from power and Soleimani joined the Revolutionary Guard in its wake.
He was deployed to Iran's northwest with forces that put down Kurdish unrest following the revolution.
Soon after, Iraq invaded Iran and began the two countries long, bloody eight-year war. The fighting killed more than 1 million people and saw Iran send waves of lightly armed troops into minefields and the fire of Iraqi forces, including teenage soldiers. Solemanis unit and others came under attack by Iraqi chemical weapons as well.
Amid the carnage, Soleimani became known for his opposition to meaningless deaths on the battlefield, while still weeping at times with fervor when exhorting his men into combat, embracing each individually.
After the Iraq-Iran war, Soleimani largely disappeared from public view for several years, something analysts attribute to his wartime disagreements with Hashemi Rafsanjani, who would serve as Iran's president from 1989 to 1997.
But after Rafsanjani, Soleimani became head of the Quds force. He also grew so close to Khamenei that the Supreme Leader officiated the wedding of the general's daughter.
As chief of the Quds, Solemani oversaw the Guards foreign operations and soon would come to the attention of Americans following the 2003 invasion of Iraq and the overthrow of Saddam Hussein.
In secret US diplomatic cables released by WikiLeaks, US officials openly discussed Iraqi efforts to reach out to Soleimani to stop rocket attacks on the highly secured Green Zone in Baghdad in 2009.
Another cable in 2007 outlines then-Iraqi President Jalal Talabani offering a US official a message from Soleimani acknowledging having hundreds of agents in the country while pledging, "I swear on the grave of [the late Ayatollah Ruhollah] Khomeini I haven't authorised a bullet against the US".
US officials at the time dismissed Soleimani's claim as they saw Iran as both an arsonist and a fireman in Iraq, controlling some Shia militias while simultaneously stirring dissent and launching attacks.
US forces would blame the Quds Force for an attack in Karbala that killed five American troops, as well as for training and supplying the bomb makers whose improvised explosive devices made IED improvised explosive device a dreaded acronym among soldiers.
In a 2010 speech, US Gen David Petreaus recounted a message from Soleimani he said explained the scope of Iranians powers.
"He said, Gen Petreaus, you should know that I, Qasem Soleimani, control the policy for Iran with respect to Iraq, Lebanon, Gaza and Afghanistan," Petraeus said.
The US and the United Nations put Soleimani on a sanctions lists in 2007, though his travels continued. In 2011, US officials also named him as a defendant in an outlandish Quds Force plot to allegedly hire a purported Mexican drug cartel assassin to kill a Saudi diplomat.
But his greatest notoriety would arise from the Syrian civil war and the rapid expansion of the Islamic State group.
Iran, a major backer of Assad, sent Soleimani into Syria several times to lead attacks against IS and others opposing Assad's rule. While a US-led coalition focused on airstrikes, several ground victories for Iraqi forces came with photographs emerging of Soleimani leading, never wearing a flak jacket.