in 1932 he joined the then illegal democratic party and held high government and party posts from 1942 , becoming home secretary in 1948 , where the communist party took sovereignty in europe .
Communist control in Hungary ended in 1948.