due in part to his strong support of the communists, he replaced fellow smallholder lajos dinnyés as prime minister in december 1948, helping preside over the final stage of the communists' complete takeover of the country. in short order, dobi pushed out those elements of his party who were unwilling to do the communists' bidding, leaving the party in the hands of fellow travelers like himself. this process was repeated with the other non-communist parties as well.