On February 11, 1979, Khomeini appointed his first own prime minister, Medhi Bazargan. On March 30, 1979 a referendum took place in Iran and as a result, the monarchy was replaced with an Islamic Republic. After the Islamic Revolution, Khomeini became Supreme Leader of Iran.