On 24 February 1979, Khalkhali was chosen by Ruhollah Khomeini to be the Sharia ruler or head the newly established Revolutionary Courts, and to make Islamic rulings. In the early days of the revolution he sentenced to death “hundreds of former government officials” on charges such as “spreading corruption on earth” and “warring against God.