The Catholic Church faced turmoil due to the Protestant Reformation. In response, the Pope sought to end corruption among clergy, established new schools for priests, and used the Council of Trent, Inquisition, and Jesuits to reaffirm Catholic doctrines of salvation through faith and works, try heretics using torture and execution, and spread Catholicism through education respectively. The Peace of Augsburg established that the ruler's religion dictated his realm's religion, granting secular rulers power over the church and establishing early religious freedom. By the late 1500s, the Catholic Reformation succeeded in making Rome more pious and regaining some lands, though Protestants dominated northern lands and Catholics the south.