How did the Hungarian Diet change the succession to the Hungarian throne in 1687?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In 1687, the Hungarian Diet formally recognized the hereditary rights of the male line of the House of Habsburg to the Hungarian throne.1

This change was part of a broader agreement in which Leopold I reconfirmed the Hungarian constitution. In exchange for this recognition of hereditary succession, the Diet agreed to the abolition of the ius resistendi (the right to resist the monarch), a privilege that had been previously granted under the Golden Bull of 1222.23