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 Khomeini's 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.
On 9 February, a rebellion of pro-Khomeini air force technicians broke out at the Doshan Tappeh Air Base. A unit of the pro-Shah Immortal Guards attempted to apprehend the rebels, and an armed battle broke out. Soon large crowds took to the streets, building barricades and supporting the rebels, while Islamic-Marxist guerillas with their weapons joined in support.
On 11 February, Khomeini appointed his own competing interim prime minister, Mehdi Bazargan, demanding, "since I have appointed him, he must be obeyed." It was "God's government," he warned, disobedience against him or Bazargan was considered a "revolt against God".
The final collapse of the provisional non-Islamist government came at 2 pm 11 February when the Supreme Military Council declared itself "neutral in the current political disputes... in order to prevent further disorder and bloodshed." All military personnel were ordered back to their bases, effectively yielding control of the entire country to Khomeini. Revolutionaries took over government buildings, TV and radio stations, and palaces of the Pahlavi dynasty, marking the end of the monarchy in Iran. Bakhtiar escaped the palace under a hail of bullets, fleeing Iran in disguise.