section_path: History/Communism (1945–1989)
section_name: Communism (1945–1989)
paragraph_text: Communism (1945–1989)
  
  Following the defeat of Nazi Germany, Hungary became a satellite state of the Soviet Union. The Soviet leadership selected Mátyás Rákosi to front the Stalinisation of the country, and Rákosi de facto ruled Hungary from 1949 to 1956. His government's policies of militarisation, industrialisation, collectivisation, and war compensation led to a severe decline in living standards. In imitation of Stalin's KGB, the Rákosi government established a secret political police, the ÁVH, to enforce the regime; approximately 350,000 officials and intellectuals were imprisoned or executed from 1948 to 1956. Many freethinkers, democrats, and Horthy-era dignitaries were secretly arrested and extrajudicially interned in domestic and foreign gulags. Some 600,000 Hungarians were deported to Soviet labour camps, where at least 200,000 died.
  
  After Stalin's death in 1953, the Soviet Union pursued a programme of de-Stalinisation that was inimical to Rákosi, leading to his deposition. The following political cooling saw the ascent of Imre Nagy to the premiership. Nagy promised market liberalisation and political openness. Rákosi eventually managed to discredit Nagy and replace him with the more hard-line Ernő Gerő. Hungary joined the Warsaw Pact in May 1955, as societal dissatisfaction with the regime swelled. Following the firing on peaceful demonstrations by Soviet soldiers and secret police, and rallies throughout the country on 23 October 1956, protesters took to the streets in Budapest, initiating the 1956 Revolution.
  
  In an effort to quell the chaos, Nagy returned as premier, promised free elections, and took Hungary out of the Warsaw Pact. The violence nonetheless continued as revolutionary militias sprung up against the Soviet Army and the ÁVH; the roughly 3,000-strong resistance fought Soviet tanks using Molotov cocktails and machine-pistols. Though the preponderance of the Soviets was immense, they suffered heavy losses, and by 30 October 1956, most Soviet troops had withdrawn from Budapest to garrison the countryside. For a time, the Soviet leadership was unsure how to respond but eventually decided to intervene to prevent a destabilisation of the Soviet bloc. On 4 November, reinforcements of more than 150,000 troops and 2,500 tanks entered the country from the Soviet Union. Nearly 20,000 Hungarians were killed resisting the intervention, while an additional 21,600 were imprisoned afterward for political reasons. Some 13,000 were interned and 230 brought to trial and executed. Nagy was secretly tried, found guilty, sentenced to death, and executed by hanging in June 1958. Because borders were briefly opened, nearly a quarter of a million people fled the country by the time the revolution was suppressed.
  
  After a second, briefer period of Soviet military occupation, János Kádár, Nagy's former minister of state, was chosen by the Soviet leadership to head the new government and chair the new ruling Socialist Workers' Party. Kádár quickly normalised the situation. In 1963, the government granted a general amnesty. Kádár proclaimed a new policy line, according to which the people were no longer compelled to profess loyalty to the party if they tacitly accepted the socialist regime as a fact of life. Kádár introduced new planning priorities in the economy, such as allowing farmers significant plots of private land within the collective farm system (háztáji gazdálkodás). The living standard rose as consumer goods and food production took precedence over military production, which was reduced to one-tenth of prerevolutionary levels.
  
  In 1968, the New Economic Mechanism introduced free-market elements into the socialist command economy. From the 1960s through the late 1980s, Hungary was often referred to as "the happiest barrack" within the Eastern bloc. During the latter part of the Cold War Hungary's GDP per capita was fourth only to East Germany, Czechoslovakia, and the Soviet Union. As a result of this relatively high standard of living, a more liberalised economy, a less censored press, and less restricted travel rights, Hungary was generally considered one of the more liberal countries in which to live in Central Europe during communism. In 1980, Hungary sent a Cosmonaut into space as part of the Interkosmos. The first Hungarian astronaut was Bertalan Farkas. Hungary became the seventh nation to be represented in space by him. In the 1980s, however, living standards steeply declined again because of a worldwide recession to which communism was unable to respond. By the time Kádár died in 1989, the Soviet Union was in steep decline and a younger generation of reformists saw liberalisation as the solution to economic and social issues.