In 1233 Gregory IX established the Papal Inquisition to regularize the persecution of heresy. The Papal Inquisition was intended to bring order to the haphazard episcopal inquisitions which had been established by Lucius III in 1184. Gregory's aim 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. In 1231 Pope Gregory IX appointed a number of Papal Inquisitors ("Inquisitores haereticae pravitatis"), mostly Dominicans and Franciscans, for the various regions of France, Italy and parts of Germany. Contrary to popular belief, the aim was to introduce due process and objective investigation into the beliefs of those accused to the often erratic and unjust persecution of heresy on the part of local ecclesiastical and secular jurisdictions.