 Severely wounded in 1799, he survived a trepanning operation and briefly retired from military service.He returned to active service and commanded an army corps during the War of the Fifth Coalition, part of the Napoleonic Wars.He led his troops in several important battles during the Austrian invasion of Italy in 1809, including one where he was in independent command.