On 28 December 1944, a provisional government under the control of the Soviet Union was formed in liberated Debrecen with Béla Miklós as its Prime Minister. Miklós was the commander of the Hungarian First Army, but most of the First Army sided with the Germans and most of what remained of it was destroyed about 200 kilometres north of Budapest between 1 January and 16 February. The pro-Communist government formed by Miklós competed with the pro-Nazi government of Ferenc Szálasi. The Germans, Szálasi, and pro-German Hungarian forces loyal to Szálasi fought on. On 20 January 1945, representatives of the provisional government of Béla Miklós signed an armistice in Moscow. But forces loyal to Szálasi still continued to fight on.