(note: This will need much improvements - it has been written by someone who does not know about the history of Hungary, based on only one book, in which the Hungarian history is just some sidestep)
The Magyars (known as Hungarians in most western languages, including English) were a nomadic people from the Eurasian plains until the ninth century, when they settled in the plains around the middle Danube river, the area that is now Hungary. The Hungarians established a kingdom, which existed until the Mongolian conquest in 1241. After that, most Hungarian kings were from abroad, until 1541, when the Turks conquered Hungary and divided it in three parts. The northern and western parts went to Austria, Transylvania became independent (and a Turkish vassal state), and the central area, including the dual capital of Buda and Pest (joined to become the city of Budapest in 1873), became Turkish. In 1699, Austria conquered the area. In 1867, Hungary partly regained its independence, getting a separate parliament and some autonomy, but with still the emperor of Austria being monarch of both countries.
Following the defeat of the Austro-Hungarian Dual Monarchy (1867-1918) in the so-called Aster revolution on October 31, 1918 at the end of World War I, Hungary lost two-thirds of its territory and nearly as much of its population. Hungary was declared a democratic republic on November 16 1918, but this did not last long. On March 21, 1919, the Transsylvanian Béla Kun led a brief but bloody counterrevolution. Because he was unable to solve the hunger and other problems, and did not keep his promises (nationalising ground rather than redividing it among the poor farmers), his communist dictatorship lost support among the population. He also did not get the help from the Soviet Union that he had hoped for. Romanian troops neared Budapest, and Kun fled abroad - first to Austria, then to the Soviet Union. In 1937 he was killed by Stalin.
Kun's place as leader of Hungary was taken in by Miklós Horthy, who established a fascist dictatorship (making Hungary precede Italy and Germany in becoming such). In the Treaty of Trianon (July 4, 1920), Hungary finally made peace with its enemies from World War I, but at a high cost: More than half of Hungary became territory of Romania, Czechoslovakia or Yugoslavia instead. In Hungary itself, state anti-Semitism grew during the 1920s and 1930s. During World War II, Hungary was one of the minor Axis powers, and the Hungarians joined the Germans in their attack on the Soviet Union. Still, the Hungarian Jews were not deported to concentration camps like those in Germany and the conquered areas -- that is, not until the Germans invaded Hungary itself on March 19 1944. 437,000 Hungarian Jews were sent to Auschwitz in July.
In January 1945, a provisional government concluded an armistice with the Soviet Union and established the Allied Control Commission, under which Soviet, American, and British representatives held complete sovereignty over the country. The Commission's chairman was a member of Stalin's inner circle and exercised absolute control. Budapest was liberated by the Soviets on February 14, 1945, but this would soon prove to be little improvement. The Soviets started to randomly arrest people to get the quota that Stalin had set on opponents of communism to be deported to Siberia.
The provisional government, dominated by the Hungarian Communist Party (MKP), was replaced in November 1945 after elections which gave majority control of a coalition government to the Independent Smallholders' Party. The government instituted a radical land reform and gradually nationalized mines, electric plants, heavy industries, and some large banks. The communists ultimately undermined the coalition regime by discrediting leaders of rival parties and through terror, blackmail, and framed trials. In elections tainted by fraud in 1947, the leftist bloc gained control of the government. Postwar cooperation between the U.S.S.R. and the West collapsed, and the Cold War began. With Soviet support, Moscow-trained Matyas Rakosi began to establish a communist dictatorship.
By February 1949, all opposition parties had been forced to merge with the MKP to form the Hungarian Workers' Party. In 1949, the communists held a single-list election and adopted a Soviet-style constitution which created the Hungarian People's Republic. Rakosi became Prime Minister in 1952. Between 1948 and 1953, the Hungarian economy was reorganized according to the Soviet model. In 1949, the country joined the Council for Mutual Economic Assistance (CMEA, or Comecon), a Soviet-bloc economic organization. All private industrial firms with more than 10 employees were nationalized. Freedom of the press, religion, and assembly were strictly curtailed. The head of the Roman Catholic Church, Cardinal Jozsef Mindszenty, was sentenced to life imprisonment.
Forced industrialization and land collectivization soon led to serious economic difficulties, which reached crisis proportions by mid-1953, the year Stalin died. The new Soviet leaders blamed Rakosi for Hungary's economic situation and began a more flexible policy called the "New Course." Imre Nagy replaced Rakosi as prime minister in 1953 and repudiated much of Rakosi's economic program of forced collectivization and heavy industry. He also ended political purges and freed thousands of political prisoners. However, the economic situation continued to deteriorate, and Rakosi succeeded in disrupting the reforms and in forcing Nagy from power in 1955 for "right-wing revisionism." Hungary joined the Soviet-led Warsaw Pact Treaty Organization the same year. Rakosi's attempt to restore Stalinist orthodoxy then foundered as increasing opposition developed within the party and among students and other organizations after Khrushchev's 1956 denunciation of Stalin. Fearing revolution, Moscow replaced Rakosi with his deputy, Erno Gero, in order to contain growing ideological and political ferment.
Pressure for change reached a climax on October 23, 1956, when security forces fired on Budapest students marching in support of Poland's confrontation with the Soviet Union. The ensuing battle quickly grew into a massive popular uprising. Gero called on Soviet troops to restore order on October 24. Fighting did not abate until the Central Committee named Imre Nagy as prime minister on October 25, and the next day Janos Kadar replaced Gero as party first secretary. Nagy dissolved the state security police, abolished the one-party system, promised free elections, and negotiated with the U.S.S.R. to withdraw its troops. Faced with reports of new Soviet troops pouring into Hungary despite Soviet Ambassador Andropov's assurances to the contrary, on November 1 Nagy announced Hungary's neutrality and withdrawal from the Warsaw Pact. He appealed to the United Nations and the Western powers for protection of its neutrality. Preoccupied with the Suez Crisis, the UN and the West failed to respond, and the Soviet Union launched a massive military attack on Hungary on November 3. Some 200,000 Hungarians fled to the West. Nagy and his colleagues took refuge in the Yugoslav Embassy. Kadar, after delivering an impassioned radio address on November 1 in support of "our glorious revolution" and vowing to fight the Russians with his bare hands if they attacked Hungary, defected from the Nagy cabinet; he fled to the Soviet Union and on November 4 announced the formation of a new government. He returned to Budapest and, with Soviet support, carried out severe reprisals; thousands of people were executed or imprisoned. Despite a guarantee of safe conduct, Nagy was arrested and deported to Romania. In June 1958, the government announced that Nagy and other former officials had been executed.
Reform Under Kadar
In the early 1960s, Kadar announced a new policy under the motto of "He who is not against us is with us." He declared a general amnesty, gradually curbed some of the excesses of the secret police, and introduced a relatively liberal cultural and economic course aimed at overcoming the post-1956 hostility toward him and his regime. In 1966, the Central Committee approved the "New Economic Mechanism," through which it sought to overcome the inefficiencies of central planning, increase productivity, make Hungary more competitive in world markets, and create prosperity to ensure political stability. However, the reform was not as comprehensive as planned, and basic flaws of central planning produced economic stagnation. Over the next two decades of relative domestic quiet, Kadar's government responded to pressure for political and economic reform and to counterpressures from reform opponents, By the early 1980s, it had achieved some lasting economic reforms and limited political liberalization and pursued a foreign policy which encouraged more trade with the West. Nevertheless, the New Economic Mechanism led to mounting foreign debt incurred to share up unprofitable industries.
Transition to Democracy
Hungary's transition to a Western-style parliamentary democracy was the first and the smoothest among the former Soviet bloc, inspired by a nationalism that long had encouraged Hungarians to control their own destiny. By 1987, activists within the party and bureaucracy and Budapest-based intellectuals were increasing pressure for change. Some of these became reform socialists, while others began movements which were to develop into parties. Young liberals formed the Federation of Young Democrats (Fidesz); a core from the so-called Democratic Opposition formed the Association of Free Democrats (SZDSZ), and the neopopulist national opposition established the Hungarian Democratic Forum (MDF). Civic activism intensified to a level not seen since the 1956 revolution.
In 1988, Kadar was replaced as General Secretary of the Communist Party, and reform communist leader Imre Pozsgay was admitted to the Politburo. That same year, the Parliament adopted a "democracy package," which included trade union pluralism; freedom of association, assembly, and the press; a new electoral law; and a radical revision of the constitution, among others. Since then, Hungary has tried to reform its economy and increase its connections with western Europe, hoping to become a member of the European Union as soon as possible. A Central Committee plenum in February 1989 endorsed in principle the multiparty political system and the characterization of the October 1956 revolution as a "popular uprising," in the words of Pozsgay, whose reform movement had been gathering strength as Communist Party membership declined dramatically. Kadar's major political rivals then cooperated to move the country gradually to democracy. The Soviet Union reduced its involvement by signing an agreement in April 1989 to withdraw Soviet forces by June 1991.
National unity culminated in June 1989 as the country reburied Imre Nagy, his associates, and, symbolically, all other victims of the 1956 revolution. A national roundtable, comprising representatives of the new parties and some recreated old parties--such as the Smallholders and Social Democrats--the Communist Party, and different social groups, met in the late summer of 1989 to discuss major changes to the Hungarian constitution in preparation for free elections and the transition to a fully free and democratic political system.
In October 1989, the communist party convened its last congress and re-established itself as the Hungarian Socialist Party (MSZP). In a historic session an October 16-20, 1989, the Parliament adopted legislation providing for multiparty parliamentary elections and a direct presidential election. The legislation transformed Hungary from a people's republic into the Republic of Hungary, guaranteed human and civil rights, and created an institutional structure that ensures separation of powers among the judicial, executive, and legislative branches of government. But because the national roundtable agreement was the result of a compromise between communist and noncommunist parties and societal forces, the revised constitution still retained vestiges of the old order. It championed the "values of bourgeois democracy and democratic socialism" and gave equal status to public and private property. Such provisions were erased in 1990 as the need for compromise solutions was obviated by the poor performance of the MSZP in the first free elections.
Free Elections and a Democratic Hungary
The first free parliamentary election, held in May 1990, was a plebiscite of sorts on the communist past. The revitalized and reformed communists performed poorly despite having more than the usual advantages of an "incumbent" party. Populist, center-right, and liberal parties fared best, with the Democratic Forum (MDF) winning 43% of the vote and the Free Democrats (SZDSZ) capturing 24%. Under Prime Minister Jozsef Antall, the MDF formed a center-right coalition government with the Independent Smallholders' Party (FKGP) and the Christian Democratic People's Party (KDNP) to command a 60% majority in the parliament. Parliamentary opposition parties included SZDSZ, the Socialists (MSZP), and the Alliance of Young Democrats (Fidesz). Peter Boross succeeded as Prime Minister after Antall died in December 1993. The Antall/Boross coalition governments achieved a reasonably well-functioning parliamentary democracy and laid the foundation for a free market economy.
In May 1994, the socialists came back to win a plurality of votes and 54% of the seats after an election campaign focused largely on economic issues and the substantial decline in living standards since 1990. A heavy turnout of voters swept away the right-of-center coalition but soundly rejected extremists on both right and left. Despite its neocommunist pedigree, the MSZP continued economic reforms and privatization, adopting a painful but necessary policy of fiscal austerity (the "Bokros plan") in 1995. The government pursued a foreign policy of integration with Euro-Atlantic institutions and reconciliation with neighboring countries. But neither an invitation to join NATO nor improving economic indicators guaranteed the MSZP's re-election; dissatisfaction with the pace of economic recovery, rising crime, and cases of government corruption convinced voters to propel center-right parties into power following national elections in May 1998. The Federation of Young Democrats (renamed Fidcsz-Hungarian Civic Party (MPP) in 1995) captured a plurality of parliamentary seats and forged a coalition with the Smallholders and the Democratic Forum. The new government, headed by 35-year-old Prime Minister Viktor Organ, promised to stimulate faster growth, curb inflation, and lower taxes. Although the Orban administration also pledged continuity in foreign policy, and has continued to pursue Euro-Atlantic integration as its first priority, it has been a more vocal advocate of minority rights for ethnic Hungarians abroad than the previous government.