Answer
Joseph I, Holy Roman Emperor had to deal with a protracted revolt in Hungary. The revolt began in 1703 and lasted until 1711. The revolt was caused by Joseph's attempts to centralize and modernize the government of Hungary. The rebels were led by Ferenc II Rákóczi. The revolt was ultimately unsuccessful, but it did force Joseph to make some concessions to the Hungarians.