Task: Question Answering
Input (English): Context: John Sigismund Zápolya or Szapolyai (7 July 1540  14 March 1571) was King of Hungary as John II from 1540 to 1551, and from 1556 to 1570, and the first Prince of Transylvania from 1570 to his death. He was the only son of John I, King of Hungary, and Isabella of Poland. JohnI ruled parts of the Kingdom of Hungary, with the support of the Ottoman Sultan Suleiman; the remaining areas were ruled by Ferdinand I, who also claimed Hungary. The two kings concluded a peace treaty in 1538 acknowledging Ferdinand's right to reunite Hungary after JohnI's death, but shortly after John Sigismund's birth, and on his deathbed, JohnI bequeathed his realm to his son. The late king's staunchest supporters elected the infant John Sigismund king, but he was not crowned with the Holy Crown of Hungary., The Prince of Transylvania (, . ) was the head of state of the Principality of Transylvania from the last decades of the 16th century until the middle of the 18th century. John Sigismund Zápolya was the first to adopt the title in 1570, but its use only became stable from 1576., Transylvania (Romanian: "Transilvania" or "Ardeal", Hungarian: "Erdély", German: "Siebenbürgen" or "Transsilvanien", Latin: "Transsilvania", see Historical Names in other Languages) is a historical region located in what is today the central part of Romania. Bound on the east and south by its natural borders, the Carpathian mountain range, historical Transylvania extended westward to the Apuseni Mountains. The term sometimes encompasses not only Transylvania proper, but also the historical regions of Criana, Maramure, and the Romanian part of Banat., Michael Apafi ( 1632 -- 15 April 1690 ) was a Hungarian Prince of Transylvania . He was elected by the nobles of Transylvania on 14 September 1661 , with the support of the Ottoman Empire , as a rival to the Habsburg - backed ruler John Kemény . Kemény died in 1662 in the battle of Nagyszlls , leaving Apafi as uncontested ruler of Transylvania . Opposed to the Holy Roman Emperor Leopold I , he supported the Ottomans and Hungarian rebels until the Ottoman defeat at the Battle of Vienna on 12 September 1683 . Following this , Michael opened talks with Leopold and concluded a treaty with the Austrians on 27 September 1687 , obtaining their recognition of his authority in Transylvania . He died at Fogaras in 1690 and was succeeded by his son Michael II Apafi . A manor house in Mlâncrav belonging to Michael I Apafi has recently been restored by The Mihai Eminescu Trust ., Subject: michael i apafi, Relation: country_of_citizenship, Options: (A) hungary (B) kingdom of hungary (C) poland (D) principality of transylvania (E) transylvania
Output (English): principality of transylvania