A country in central Europe, bounded by Slovakia on the north, Romania and Ukraine on the east, Slovenia, Croatia, and Serbia on the south, and Austria on the west.
From north to south through the centre flows the Danube, in a broad plain (the puszta) which extends eastwards to the river Tisza across pastureland and areas suited to agriculture. West of the river is the Bakony Forest consisting of mainly deciduous trees, Lake Balaton (the largest and shallowest lake in central Europe), and a fertile plateau with granite hills.
The principal crops are wheat, maize, barley, sugar beet, potatoes, and grapes, while mineral resources include bauxite, brown coal, lignite, and copper. Privatization, increases in Western joint ventures, new management techniques, and the replacement of outdated machinery have all been introduced in an attempt to revive industrial profitability. Hungary's main exports are machinery and transport equipment, agricultural produce, and computer software. Tourism is an expanding source of revenue.
The region comprising the Roman provinces of Pannonia and Dacia was overrun by Germanic tribes in the Dark Ages and then conquered by Charlemagne. By 896 elected Magyar Arpad leaders ruled and Hungary emerged as the centre of a strong Magyar kingdom in the late Middle Ages. A Mongol invasion devastated the population in 1241 and the Arpad line ended in 1301. Thereafter, the crown was usually passed to a foreigner. The advance of the Ottoman empire threatened, especially after the battle of Nicopolis in 1396, when Sigismund, King of Hungary, was defeated by the Turks. John Hunyadi (died 1456) and his son Matthias Corvinus brought revival, but in 1490 the Jagiellons gained the throne, and, in 1515, a Habsburg claim arose. The disastrous defeat of the Hungarian king, Louis II, at Mohács (1526), led to the partition of Hungary between the Habsburgs and the Ottomans although Transylvania retained its independence. By 1711 all of Hungary had come under Habsburg rule and remained part of the Habsburg empire until 1919.
In the 19th century Magyar nationalism was antagonized by the repressive policies of Metternich, leading to rebellion under Kossuth in 1848. The Austrians, with Russian help, reasserted control. After defeat by Prussia the Austrians compromised with the Magyars in 1867, setting up Austria-Hungary, or the Dual Monarchy, which was first and foremost an alliance of Magyars and Austrian Germans against the Slav nationalities. Defeat in World War I led to revolution and independence, first under Károlyi's democratic republic, then briefly under Béla Kun's communist regime. Dictatorship followed in 1920 under Horthy, and lasted until 1944. Allied to the Axis Powers in World War II, defeat brought Soviet domination and a communist one-party system. This was resented and, briefly, in 1956, the Hungarian Revolution saw resistance to the Soviet Union. Hungary experienced some degree of liberalization during the latter years of János Kádár's regime (1956–88). Demonstrations in Budapest in 1988 resulted in multiparty politics being restored. Elections brought to power the Hungarian Democratic Forum (MDF) early in 1990; but after the collapse of COMECON, trade fell and there was rising unemployment and popular discontent. Refugees from Romanian Transylvania and from disintegrating Yugoslavia caused additional problems. A programme of ambitious reforms to revive the economy and introduce a free-market system were launched in 1990. These reforms progressed steadily with the privatization of many companies in 1991, accompanied by increasing foreign investment. However, continued economic recession and domestic political problems resulted, in the general election of May 1994, in the heavy defeat of the MDP. A new coalition, led by the Hungarian Socialist Party under Gyula Horn, took office. A small degree of economic growth was recorded in 1995, despite a sense of economic crisis in the country, which led to the introduction of economic austerity measures. In 1998 the reformist Fidesz movement won elections and Viktor Orban became Prime Minister; he was followed by Peter Medgyessy in 2002 and Ferenc Gyurcsány in 2004. Hungary joined NATO in 1999 and the European Union in 2004.