In 1815 it was reannexed by Prussia, incorporated as the capital of the Kreis Birnbaum in the Regierungsbezirk of Posen, part of the Prussian Grand Duchy of Posen, and from 1871 to 1919 it was also part of Germany.
In 1815 it was reabsorbed by Prussia and became part of the Kreis Birnbaum region in the Posen administrative district, which was a component of the Prussian Grand Duchy of Posen. From 1871 to 1919, it also formed part of the German Empire.