 There were a large number of tribunals of the Papal Inquisition in various European kingdoms during the Middle Ages through different diplomatic and political means.In the Kingdom of Aragon, a tribunal of the Papal Inquisition was established by the statute of "Excommunicamus" of Pope Gregory IX, in 1232, during the era of the Albigensian heresy, as a condition for peace with Aragon.The Inquisition was ill-received by the Aragonese, which led to prohibitions against insults or attacks on it.