However, he left party politics in late 1989, as he was elected into the Constitutional Court of Hungary. He gained the presidency of the court half year later, and held that position until 1998. During this time, the Constitutional Court had a very important role in laying the groundwork for and strengthening democracy in Hungary. In this role, he significantly contributed to the removal of capital punishment, the protection of information rights, the freedom of opinion and of conscience, as well as the constitutional protection of domestic partnerships of homosexuals, which measures brought wide international acclaim for the Constitutional Court of Hungary.