Excerpts from Books and Wikipedia
"The act of union was deal with Pacta conventa, by which institutions of separate Croatian statehood were maintained through the Sabor (an assembly of Croatian nobles) and the ban (viceroy). In addition, the Croatian nobles retained their lands and titles. Medieval Hungary and Croatia were (in terms of public international law) allied by means of personal union until 1526. Although, Hungarian-Croatian state existed until the beginning of the 20th century and the Treaty of Trianon. [Wikipedia: Timeline of Middle Ages] "The Kingdom of Hungary was a monarchy in Central Europe that existed from the Middle Ages into the 20th century (1000–1946 with the exception of 1918–1920) and existed for almost a millennium. The Principality of Hungary emerged as a Christian kingdom upon the coronation of the first king Stephen I at Esztergom around the year 1000; his family (the Árpád dynasty) led the monarchy for 300 years. By the 12th century, the kingdom became a European middle power within the Western world." [Wikipedia]