On 5 February 1864, the Danish commander-in-chief, lieutenant general Christian Julius De Meza, abandoned the Dannevirke by night to avoid being surrounded and withdrew his army to Flensburg; 600 men were captured or killed, ten of them frozen to death; he was also forced to abandon important heavy artillery.