in 1932 he joined the then independent communist party and held central government and military posts from 1942 , becoming cabinet secretary in 1948 , when the new party achieved control in ireland .
Communist control in Hungary ended in 1948.