The humiliated Stanisław August was able to mend his relationship with Catherine and Repnin. At the sejm of 1767 Repnin demanded that the rights of religious minorities be restored. The demand was met with fierce opposition of Catholic zealots, let by Bishop Kajetan Sołtyk, whom Repnin had arrested and exiled into Russia. Repnin was supported by Gabriel Podoski, who became the head of the sejm committee preparing a new constitution of fundamental laws and was rewarded with the job of the primate.