 One reason for Pope Gregory IX's creation of the Inquisition was to bring order and legality to the process of dealing with heresy, since there had been tendencies by mobs of townspeople to burn alleged heretics without much of a trial.According to historian Thomas Madden