Principality of Upper Hungary
The Principality of Upper Hungary[1] (Hungarian: Felső-Magyarországi Fejedelemség; Turkish: Orta Macar)[2] was a short-lived vassal state of the Ottoman Empire ruled by Emeric Thököly.After peace treaty of Vasvár was signed in 1664, loyalty felt by Hungarians towards the Habsburg dynasty was in decline.In 1673 the Emperor appointed Johann Caspar von Ampringen, the Teutonic Grandmaster as governor of Royal Hungary, precipitating a harsh crackdown on disloyal nobles and Protestants which further increased the resentment of the Hungarian nobility against the Habsburgs.In 1680 Imre Thököly became the leading figure of the rebellion, which started being supported and sustained by the Ottoman state and the Principality of Transylvania.[6] In 1685 Thököly was defeated at Eperjes (present-day Prešov) and the Turks imprisoned him because of his previous negotiations with Leopold therefore his realm ceased to exist.