Revolutionary leader Ayatollah Ruhollah Khomeini selected Khalkhali to head the newly created Revolutionary Courts shortly after taking power. Before Khalkhali was forced to step down and sidelined in December 1980, he sent hundreds of people to their deaths, including many affiliated with the regime of Mohammad Reza Shah Pahlavi.