The Duchy of Warsaw, a small, semi-independent Polish state, was created in 1807 by Napoleon in the wake of his defeat of Prussia and the signing of the Treaties of Tilsit with Emperor Alexander I of Russia. The Army of the Duchy of Warsaw, led by Józef Poniatowski, participated in numerous campaigns in alliance with France, including the successful Austro-Polish War of 1809, which, combined with the outcomes of other theaters of the War of the Fifth Coalition, resulted in an enlargement of the duchy's territory. The French invasion of Russia in 1812 and the German Campaign of 1813 saw the duchy's last military engagements. The Constitution of the Duchy of Warsaw abolished serfdom as a reflection of the ideals of the French Revolution, but it did not promote land reform.