With Prince Eugene, Lechi fought at Austerlitz (1805), in Veneto, in Dalmatia, in Albania, in Hungary and became Brigade general in 1809. After the battle of Wagram (December 1809) he was entitled Baron of the French Empire. On 10 February 1812 he left for the Campaign of Russia, participating to every battle, comprised those of the retreat.