in 1932 he joined the then free communist party and held senior government and party office from 1942 , acting home secretary in 1948 , until the communist party takes control in hungary .
Communist control in Hungary ended in 1948.