The Árpád dynasty ruled the Carpathian Basin for four hundred years, influencing almost all of Europe through its extensive dynastic connections.
The Kingdom of Hungary existed as a country from 1920 to 1946, and officially represented the Hungarian monarchy, but in reality there was no king.
The Habsburgs tried several times to unite all Hungary under their rule, but the Ottoman Empire prevented that by supporting the Eastern Hungarian Kingdom.
King John I died in 1540, the Habsburg forces besieged Buda the Hungarian capital in 1541, Sultan Suleiman led a relief force and defeated the Habsburgs, the Ottomans captured the city by a trick during the Siege of Buda and the south central and central areas of the kingdom came under the authority of the Ottoman Empire, therefore Hungary was divided into three parts.
The Principality of Transylvania was a semi-independent state, and a vassal state of the Ottoman Empire, it continued to be part of the Kingdom of Hungary in the sense of public law, John Sigismund's possessions belonged to the Holy Crown of Hungary, and was a symbol of the survival of Hungarian statehood.