Before the 1979 Islamic Revolution, Iran had a long history of being ruled by monarchies. The last dynasty to rule Iran was the Pahlavi Dynasty, led by Shah Mohammad Reza Pahlavi. The monarchy had been the continuous political system in Iran for centuries, with different dynasties ruling the country, including the Qajars, Safavids, and Pahlavis.