in 1932 he joined the then illegal communist party and held high government and parties ranks from 1942 , as foreign secretary in 1948 , when the communist party gained jurisdiction in hungary .
Communist control in Hungary ended in 1948.