Dominicans were entrusted with the execution of the Inquisition, a judicial procedure and later an institution that was established in the 13th century by the papacy and, sometimes, by secular governments to combat heresy. During the Spanish Inquisition, Dominican prior and grand inquisitor Tomás de Torquemada became infamous for his methods of torture.