Hungarian Communist Party
After the Second World War, Nagy returned to Hungary. He was the Minister of Agriculture in the government of Béla Miklós de Dálnok, delegated by the Hungarian Communist Party. He distributed land among the peasant population. In the next government, led by Tildy, he was the Minister of Interior. At this period he played an active role in the expulsion of the Hungarian Germans.