in 1932 he joined the then banned communist union and holds high governmental and cabinet posts from 1942 , becoming home secretary in 1948 , whenever the communist government took control in hungary .
Communist control in Hungary ended in 1948.