structural:reformatting
Bakhtiar's premiership and Ayatollah Khomeini's return (January–February, 1979)

When news of the Shah's departure was announced, there were spontaneous scenes of joy throughout the country. Millions poured onto the streets, and virtually every remaining sign of the monarchy was torn down by the crowds. Bakhtiar dissolved SAVAK and freed all remaining political prisoners. He ordered the army to allow mass demonstrations, promised free elections and invited the revolutionaries into a government of "national unity".

Bakhtiar invited Khomeini back to Iran, with the intention of creating a Vatican -like state in the holy city of Qom, declaring that "We will soon have the honor of welcoming home the Ayatollah Khomeini". On 1 February 1979 Khomeini returned to Tehran in a chartered Air France Boeing 747. The welcoming crowd of several million Iranians was so large he was forced to take a helicopter after the car taking him from the airport was overwhelmed by an enthusiastic welcoming crowd.

Khomeini was now not only the undisputed leader of the revolution, he had become what some called a "semi-divine" figure, greeted as he descended from his airplane with cries of 'Khomeini, O Imam, we salute you, peace be upon you.' Crowds were now known to chant "Islam, Islam, Khomeini, We Will Follow You", and even "Khomeini for King". When asked by a reporter how he felt returning to his home country after a long exile, Khomeini replied "Nothing".

On the day of his arrival Khomeini made clear his rejection of Bakhtiar's government in a speech promising, "I shall kick their teeth in. I appoint the government, I appoint the government in support of this nation". On 5 February at his headquarters in the Refah School in southern Tehran, he declared a provisional revolutionary government, appointed opposition leader Mehdi Bazargan (from the religious-nationalist Freedom Movement, affiliated with the National Front) as his own prime minister, and commanded Iranians to obey Bazargan as a religious duty:

hrough the guardianship that I have from the holy lawgiver, I hereby pronounce Bazargan as the Ruler, and since I have appointed him, he must be obeyed. The nation must obey him. This is not an ordinary government. It is a government based on the sharia. Opposing this government means opposing the sharia of Islam... Revolt against God's government is a revolt against God. Revolt against God is blasphemy.

Angered, Bakhtiar made a speech of his own. Reaffirming himself as the legitimate leader, he declared that:

Iran has one government. More than this is intolerable, either for me or for you or for any other Iranian. As a Muslim, I had not heard that jihad refers to one Muslim against other Muslims.... I will not give permission to Ayatollah Khomeini to form an interim government. In life there comes a time when one must stand firm and say no.... I have never seen a book about an Islamic republic; neither has anyone else for that matter.... Some of the people surrounding the Ayatollah are like violent vultures.... The clergy should go to Qom and build a wall around themselves and create their own Vatican.