Some analysts in Tehran believe that Khamenei was planning to promote Soleimani further by making him President of the Islamic Republic in 2021. An image-building campaign started last year as Soleimani was marketed as "the Sufi commander".... A committee of exiled Iranians in Florida also started campaigning to draft Soleimani as president. If that was Khamenei's game plan, there is no doubt that Soleimani's demise will lead to more uncertainty regarding the future course of Iranian politics.

Soleimani, who loved making and publishing "selfies" showing himself close to battlegrounds in the Middle East, was never present anywhere near a battle but was always to come after the dust had settled, to take "selfies" and claim the credit.

Soleimani had his own network of lobbyists in many Arab countries and some Western democracies. Hundreds of Iranian and Arab militants have enrolled in Western universities with scholarships from the Quds Force.

Qassem Soleimani, who was Iran's most hyped general, loved publishing "selfies" showing himself close to battlegrounds in the Middle East. He was never present anywhere near a battle but was always to come after the dust had settled, to take "selfies" and claim the credit. (Photo by Mehdi Ghasemi/ISNA/AFP via Getty Images)

While analysts and policymakers are busy speculating on ways that Tehran's ruling mullahs might avenge the killing of their most hyped general, the real question that needs considering may be elsewhere.

The question is: what effect Soleimani's death might have on the power struggle that, though currently put on hold, is certain to resume with greater vigor in Tehran.

Tehran's propaganda tries to sell Soleimani as a kind of superman who, almost single-handedly, brought Iraq, Syria, Lebanon, Gaza and parts of Afghanistan and Yemen under Iranian control while driving Americans out of the Middle East and crushing ISIS's so-called Caliphate which tried to rival the Islamic Republic in Tehran. Soleimani himself did a lot to promote that image and, doing that, received much help from Western, especially American, and Israeli media that bought the bundle of goods from Tehran.

Facts, however, offer a different portrait of the late general. Soleimani joined the Islamic revolution in 1980, aged 27, at a time that the mullahs were busy putting together a praetorian guard to protect their new regime. A few months later, the ragtag army that Soleimani had joined was sent to help the remnants of a heavily purged national army fight an invading Iraqi force. With over 8,000 officers and NCOs of the national army purged by Khomeini, the new regime offered a fast track to people like Soleimani who had joined the military with no proper training and often little or no formal education. Thus, just three years after he had joined the military, young Soleimani found himself in command of a division of raw recruits. Under his command, Iranian forces suffered three of their biggest defeats in operations Al-Fajr 8, and Karbala I and Karbala II. Mohsen Reza'i, then chief of the Revolutionary Guard, describes the three battles as "a string of catastrophes" for Iranian forces.

However, Soleimani, who was to demonstrate his genius for networking and self-promotion, scored one lasting victory when he attached himself to Ali Khamenei, the mullah who was to become the Islamic Republic's "Supreme Guide".

Khamenei started as Deputy Defense Minister and rose to become President of the Islamic Republic. Soleimani, mocked as "the mullah's bag-carrier", was always at his side. In the 1990s, as Khamenei slowly built himself as the sole arbiter of Iran's fate, Soleimani seized the opportunity to secure a fiefdom for himself.

That came in the shape of the project to "export" the Iranian Revolution to other Muslim countries. Initially, exporting the revolution, mentioned in the regime's constitution as a sacred duty, had been regarded as a matter of propaganda and organizing sympathizers in Arab countries through outfits named Hezbollah. The task was handled by a special office in the Foreign Ministry headed by Ayatollah Hadi Khosroshahian. Partly thanks to lobbying by Soleimani, the task was taken away from the Foreign Ministry and handed over to the Revolutionary Guard. But even then Soleimani didn't get the top job, which went to then Col. Ismail Qaani, the man who has now succeeded Soleimani as Commander of the Quds Force. Soleimani's next move was to dislodge Qaani and get the top job himself. (Qaani was named as deputy). Even that configuration would not satisfy Soleimani, who had bigger ambitions. As long as he was part of the IRGC's chain of command, he had to obey rules set by superiors whom he despised.

Thanks to Khamenei's support, he succeeded in securing his independent fiefdom in the shape of the Quds Force which, though formally part of the IRGC, has its own separate budget and chain of command and is answerable to no one but Khamenei.

Next, Soleimani seized control of Tehran's foreign policy in Arab countries, Afghanistan, North Korea, and South America and, in some sensitive areas, even Russia. The Islamic Republic's presidents and foreign ministers have never had tête-à-tête talks with Russian President Vladimir Putin, as Soleimani had.

It became a matter of routine for Soleimani to appoint Iran's ambassadors to Baghdad, Damascus, Beirut, Doha and several other Arab capitals.

A dramatic illustration of Soleimani's "independence" came when he shipped Syrian despot Bashar al-Assad to Tehran in a special airplane without even telling the Iranian president, let alone the foreign minister, who were also excluded from the Syrian's audience with Khamenei.

A control freak, Soleimani insisted on deciding even the smallest details himself. In his one, and now final, interview, last November, the general talks of how Lebanese Hezbollah chief Hassan Nasrallah had to clear every move with him.

Inside Iran, Soleimani built a state within the state. According to the Islamic Customs Office, the Quds Force operates 25 jetties in five of Iran's biggest ports for its "imports and exports" with no intervention by the relevant authorities. A levy on imports of foreign cars is reserved for a special fund, controlled by the Quds Force, to cover expenditures in Iraq, Syria and Lebanon and help pro-Iran Palestinian groups.

Soleimani had his own network of lobbyists in many Arab countries and some Western democracies. Hundreds of Iranian and Arab militants have enrolled in Western universities with scholarships from the Quds Force.

The Quds Force has registered vast tracts of public land in its name, claiming the need for future housing for its personnel. It also runs two dozen companies and banks, several shipping lines and an airline.

Soleimani, who loved making and publishing "selfies" showing himself close to battlegrounds in the Middle East, was never present anywhere near a battle but was always to come after the dust had settled, to take "selfies" and claim the credit.

A master of self-promotion, Soleimani received the rank of major-general without having risen through the hierarchy of the top brass like the other 12 men on the list. (After death, he has been promoted to Lt. General).

Some analysts in Tehran believe that Khamenei was planning to promote Soleimani further by making him President of the Islamic Republic in 2021. An image-building campaign started last year, as Soleimani was marketed as "the Sufi commander", a label given to Safavid kings in the 16th century.

A committee of exiled Iranians in Florida also started campaigning to draft Soleimani as president.

If that was Khamenei's game plan, there is no doubt that Soleimani's demise will lead to more uncertainty regarding the future course of Iranian politics.