When Ayatollah Khomeini took power a month after the revolution, the Shah's anticlerical measures were largely overturned, replaced by an Islamic Republic based on the principle of rule by Islamic jurists, , where clerics serve as heads of state and hold many powerful governmental positions.