Wenceslaus IV didn't share the governance abilities of his father. In 1393, the torture and murder John of Nepomuk – vicar-general of the archbishop Jan of Jenštejn – sparked a noble rebellion. He was imprisoned for two years at Králův Dvůr and was only released after an intervention from his younger brother Sigismund, who had become the King of Hungary. In 1400, Wenceslaus IV was deposed as the Holy Roman Emperor, mainly due to his failure to address the Papal Schism. Two years later, Wenceslaus IV was briefly imprisoned again, this time by his brother Sigismund, who looted Moravia. After the death of Rupert – who had replaced Wenceslaus as the King of Romans – Wenceslaus IV competed with his brother Sigismund and his cousin Jobst of Moravia for the title of the King of Romans. He ultimately surrendered the title to Sigismund in exchange for keeping Bohemia. In 1414, Sigismund called the Council of Constance, which finally resolved the Papal Schism. It also condemned the teaching of Jan Hus, rector of the University of Prague and a popular church reformist. After Jan Hus refused to retract his teachings, he was burnt alive at stake, which prompted the Hussite Wars. The religious military conflicts stopped in 1434 with the battle Battle of Lipany, but the religious tensions continued on. Although Sigismund became the titular King of Bohemia after Wenceslaus IV's death in 1419, it wasn't until 1436 that he was recognized by the Czech Estates and he died a year after.