After the 2nd partition of Poland, Poznan (Posen) came under the Prussian Kingdom. It did not permanently return to Poland until after World War I, via the Treaty of Versailles.
Wow, thanks.