During the War of the Fifth Coalition, Vandamme assumed command of the Württemberg Corps. This unit consisted of a 3-brigade infantry division under General Baron von Neubronn, a two-brigade cavalry division led by General Freiherr von Wöllwarth, a 10-gun foot artillery company, and two 6-gun horse artillery companies. Vandamme's troops were involved in the Battle of Abensberg on 20 April 1809. At the Battle of Eckmühl on 22 April, the Württembergers lost 15 killed, 98 wounded and two captured. By 17 May, when Württemberger troops were engaged in the Battle of Linz-Urfahr, they were officially called the VIII Corps. The corps missed the Battle of Wagram because it was serving as a garrison for Vienna. On 5 July 1809, the unit counted 10,793 soldiers including 7,560 infantry, 2,130 cavalry, and 34 guns.