The Muslim conquest of Persia (637–651) led to the end of the Sasanian Empire and the eventual decline of the Zoroastrian religion in Iran (Persia). Islam has been the official religion of Iran since then, except for a short duration after the Mongol raids and establishment of Ilkhanate. Iran became an Islamic republic after the Islamic Revolution of 1979 which ended the Persian monarchy.