Treaties of Tilsit
Following Napoleon Bonaparte's victory in the War of the Fourth Coalition and a Polish uprising, the territory of South Prussia became part of the Duchy of Warsaw, a French client state, according to the 1807 Treaties of Tilsit. After the Congress of Vienna in 1815, it was divided between the Prussian Grand Duchy of Posen and Congress Poland, a part of the Russian Empire.