in 1932 he rejoin the then illegal communist party and held high government and ministerial posts from 1942 , becoming home secretary in 1948 , until the marxist party took authority in hungary .
Communist control in Hungary ended in 1948.