The Duchy of Warsaw (, , ) was a Polish state started by Napoleon Bonaparte in 1807 during the Napoleonic Wars. It was made up of the Polish lands given to France by the Kingdom of Prussia under the terms of the Treaties of Tilsit. It was split between Prussian and Russian troops in 1815 at the Congress of Vienna. This was because Napoleon failed to invade Russia.