Mátyás Rákosi was a Hungarian communist politician who was the de facto leader of Hungary from 1948 to 1956. He served first as General Secretary of the Hungarian Communist Party from 1945 to 1948 and then as General Secretary (later renamed First Secretary) of the Hungarian Working People's Party from 1948 to 1956.
Rákosi had been involved in left-wing politics since his youth, and in 1919 was a leading commissar in the short-lived Hungarian Soviet Republic. After the fall of the Communist government, he escaped the country and worked abroad as an agent of the Comintern. He was arrested in 1924 after attempting to return to Hungary and organize the Communist Party underground, and ultimately spent over fifteen years in prison.