In 1805 he fought at Austerlitz, in 1806 against the Turks, and in 1807 against Napoleon at Friedland and against the Swedes in Finland.