in 1932 he founded the then illegal political party and held highest government and party posts from 1942 , becoming home secretary in 1948 , when the communist movement obtained dominance in hungary .
Communist control in Hungary ended in 1948.