Neighbourly relations exist between Austria and Hungary, two member states of the European Union. Both countries have a long common history since the ruling dynasty of Austria, the Habsburgs, inherited the Hungarian throne in the 16th century. Both were part of the now-defunct Austro-Hungarian Empire from 1867 to 1918. The two countries established diplomatic relations in 1921, after their separation.
Both countries are full members of the Council of Europe and of the European Union. They share a border, which can be crossed anywhere without control, because of the Schengen Agreement.
History
Before World War II
In the last decades of the Dual Monarchy, Austria and Hungary developed side by side. In Hungary, by the Hungarian Nationalities Law (1868) the full equality of all citizens was reinstated along with first minority rights of Europe, though the Magyar aristocracy and bourgeoisie tried to "Magyarize" the ethnicities of the multi-national kingdom within forty years: this affected mainly the education, language and administration. In multi-national Austria, the Basic Law of the State () of 1867 declared all nations of Imperial Austria equal, though the German influence remained relevant. In the Kingdom of Hungary, voting rights were kept to the upper classes, while in Austria universal, equal and direct voting of all men was established in 1907.
Before World War I, many aristocratic Hungarian families (such as Esterházy, Batthyany and Pálffy) had their own palaces in Vienna, where their king (who was also the Emperor of Austria) resided. Some of them still own these premises today.
Politicians and generals of both leading nations, Austrian Germans and Magyar Hungarians, were responsible for the disastrous foreign policy of the Monarchy that led towards World War I. Thence these two were treated as defeated enemies after World War I by the Allies of World War I. Both shared the experience of seeing millions of nationals having to live in other countries: the Austrians were not allowed to integrate the Germans of Bohemia and Moravia into their republic, the Hungarians had to leave the Magyars of Transylvania to Romania and those north of the Danube to Czechoslovakia (today Slovakia).
According to the Treaty of Versailles, 1919 and the Treaty of Trianon, 1920, Hungary had to cede its westernmost part, called , to Austria, since these districts were inhabited by Germans for centuries. (now ) would have been the natural capital of the new Austrian State of Burgenland. Hungary did not agree to relinquish this city, so the Allied powers ordered a referendum, which the Hungarians won. Although many Austrians considered the polls to be irregular, the decision was treated as definitive. The area called Burgenland by the Austrians was handed over to Austria in the autumn of 1921. Even today, Hungarian may be used as an official language in some communities of Burgenland. Hungarian aristocrats like the Esterházys and Batthyanys kept their vast estates in Austria, even after their Hungarian estates were expropriated in 1945.
Cold War era
Political development of Hungary and Czechoslovakia towards communist regimes after 1945 made Austrian politicians extremely cautious in their relations with the Communist Party of Austria, even though it did not get much support at the elections. The Iron Curtain made Hungarians and Austrians living near the border feel the division of Europe quite personally.
During the Hungarian Revolution of 1956, Austrians hoped Imre Nagy, Pál Maléter and the thousands of revolutionaries would succeed. When the Red Army intervened, the Austrian neutrality policy, adopted in 1955, did not stop the government deploying the army (Bundesheer) at the eastern border with the order to shoot any foreign soldier entering Austria. Tens of thousands of Hungarian refugees found their way into Austria by the bridge at Andau and other ways. (In 1957, U.S. writer James Michener published his novel The Bridge at Andau.) The refugees were received in Austria with great sympathy.
The most prominent refugee was Archbishop Cardinal József Mindszenty, the Primate of Hungary. Liberated from imprisonment during the revolution, he lived at the American Embassy in Budapest until 1971, when he agreed to leave Hungary. He then travelled to Vienna under U.S. protection and lived at the "Pazmaneum", a seminary for Hungarian priests, until his death in 1975. In 1991 his remains were reburied at the cathedral in Esztergom in Hungary.