[1][2] Both countries experienced Ottoman rule and in some cases rebelled against it, historically including the alliance between John Hunyadi and Gjergj Kastrioti Skanderbeg.
[3] After the Great Turkish War, Hungary was absorbed into the Hapsburg domain, while Albanian inhabited regions remained part of the Ottoman Empire and experienced a period of economic and societal breakdown, which saw large numbers of Catholics from Kosovo flee to north to arrive in Budapest,[3][4] and the widespread Islamization due to extremely steep increases in the poll tax by Ottoman authorities as well as instances of forced conversion.
Austro-Hungarian diplomatic assistance was critical for the expulsion of the Serbian and Montenegrin armies from Durrës and Shkodër in 1912, during the First Balkan War.
[citation needed] During World War II, both countries came under the control of Axis-allied regimes, followed by the domination of Communist parties allied to Moscow.
[citation needed] After World War II, both countries intensified relations by being part of the Eastern Bloc and they were founding members of the Warsaw Pact, which was a collective defence treaty established by the Soviet Union and its satellite states, including both Albania and Czechoslovakia.