The major goal of the Iranian Revolution and of Ayatollah Khomeini was to what?

The goal of the revolution was to remove the corrupt regime of Shah Pahlavi from power, and to create a new and more virtuous government that would govern according to the principles of Islam.