In its initial phase, the Iranian Revolution was a departure from the violent and armed models of 20th century revolutions in Russia, China and elsewhere because it introduced a non-violent model of change. It was called at the time, "the victory of the flower over the bullet." The Shah was overthrown, freedoms were restored and the first democratic elections took place. The soft revolutions in Eastern Europe at the end of the Cold War followed this model.
As a grand ayatollah, Khomeini knew well that, according to the Koran, the murder of one innocent person is equal to "the murder of all humanity." He also knew that one of the main principles of Islamic jurisprudence is that it is better to let 100 guilty people escape punishment than to punish an innocent.
Yet, in pursuit of total power over society, Khomeini appointed "hanging judges" who rationalized that they could execute anyone since -- if a mistake were made and they were innocent -- they would nonetheless end up in paradise. By the lights of this twisted wager, Khomeini ordered the execution of thousands of prisoners, turned a blind eye to the systematic use of torture in Iranian prisons and prolonged the Iran-Iraq war in which over two million people were killed, maimed or injured.