Qassem Soleimani, commander of Iran’s Quds Force, attends an annual rally commemorating the anniversary of the 1979 Islamic revolution in Tehran in 2016. File picture: Ebrahim Noroozi/AP

Iranian Major-General Qassem Soleimani, the top commander of the elite Quds Force of the Revolutionary Guards, helped Iran fight proxy wars across the Middle East by inspiring militias on the battlefield and negotiating with political leaders.

His death on Friday in a US air strike on his convoy at Baghdad airport marked the end of a man who was a celebrity at home and closely watched by the United States, Israel and Tehran’s regional rival Saudi Arabia.

The Pentagon said the strike was aimed at deterring future Iranian attack plans.

Soleimani was responsible for clandestine overseas operations and was often seen on battlefields guiding Iraqi Shi’a groups in the war against Islamic State.

He was killed along with top Iraqi militia commander Abu Mahdi al-Muhandis. Both men were seen as heroes in Iran’s fight against its enemies and state television heaped them with praise shortly after their deaths were announced.