stylistic:tone, structural:reformatting
Beginning of the consolidation of power

While in Paris, Khomeini had "promised a democratic political system" for Iran, but once in power, he advocated for the creation of theocracy based on the Velayat-e faqih. Thus began the process of suppression of groups inside his broad coalition but outside his network, that had placed their hopes in Khomeini but whose support was no longer needed. This led to the purge or replacement of many secular politicians in Iran, with Khomeini and his close associates taking the following steps: Establishing Islamic Revolutionary courts; replacing the previous military and police force; placing Iran's top theologians and Islamic intellectuals in charge of writing a theocratic constitutions, with a central role for Velayat-e faqih; creating the Islamic Republic Party (IRP) through Khomeini's Motjaheds with the aim of establishing a theocratic government and tearing down any secular opposition; replacing all secular laws with Islamic laws; neutralising or punishing top theologians ("Khomeini's competitors in the religious hierarchy"), whose ideas conflicted with Khomeini's, including Mohammad Kazem Shariatmadari, Hassan Tabatabaei Qomi, and Hossein Ali Montazeri. Some newspapers were closed, and those protesting the closings were attacked. Opposition groups such as the National Democratic Front and Muslim People's Republican Party were attacked and finally banned.