During the Ulm Campaign in 1805, he commanded a brigade under Marshal Michel Ney at the Battle of Elchingen. Still under Ney, he fought at the Battle of Jena and the capture of Magdeburg in 1806. After leading his brigade at the combat of Waltersdorf and the Battle of Eylau in February 1807, Villatte was promoted to general of division. He led his troops in a successful defense of the bridge over the Pasłęka (Passarge) River at Spędy (Spanden) on 5 June 1807. In this action, part of the Battle of Guttstadt-Deppen, Villatte defeated Michael Szabszinski von Rembow's Prussian-Russian division belonging to Anton Wilhelm von L'Estocq corps.