 It is an ironic page in Hungarian history as out of love for his people and country, Charles gave up his effort of restoration to avoid civil war, while enabling Horthy to assume the role of Regent as de factor king of Hungary until 1944 when his partnership with Nazi Germany ended and he was arrested.Charles's last Hungarian prime minister, Mihály Károlyi, took advantage of the situation and proclaimed the Hungarian Democratic Republic, with himself as provisional president.The continued Allied occupation made Károlyi's situation untenable, and in March 1919 he was pushed out of office by a Social Democratic-Communist coalition that proclaimed the Hungarian Soviet Republic.