Counter-reformation ended with the Repnin Sejm of 1768, which abolished legal discrimination against religious dissidents. Following further reforms at the Partition Sejm in 1773, the political rights of the remaining non-Catholics in the Commonwealth were largely restored, half a century or so before similar concessions were granted to Catholics in Protestant countries like Britain (1829) or Sweden (1849).