Kossuth, who did not want to give the supreme command to Görgei, conferred it on the Polish general Henryk Dembiński. Many officers from Görgei's Army of the Upper Danube (György Kmety, Lajos Aulich) were astonished at Kossuth's decision and sought to protest, but Görgei ordered them to accept it. One of the first decisions of the new commander was to order many of the Hungarian units, under the lead of Görgei and Klapka, to retreat, enabling the Austrian troops of General Franz Schlik to escape from their encirclement. On 25–27 February 1849, Dembiński, after making mistake after mistake, lost the Battle of Kápolna (in which Görgei's VII corps could not participate; because of Dembiński's poor deployment, the VII corps arriving at the battlefield only after the battle ended). The Hungarian officers revolted against the Polish commander and demanded his dismissal and that a Hungarian general be put in his place.