candidate: The army participated in numerous wars on the side of Napoleonic France , including in the War of the Fourth Coalition ( 1806-1807 ) , Peninsular War , the War of the Fifth Coalition ( primarily in the Polish - Austrian War ) of 1809 , and in the War of the Sixth Coalition ( in particular , in the French invasion of Russia ) of 1812-1813 .