During the Greater Poland Uprising, the town was taken over by its inhabitants, and as a result it returned to Poland, after the country regained independence in 1918.
In the context of the Greater Poland Uprising, the town changed hands from German to local control, and subsequently it returned to Polish authority, after Poland regained its autonomy in 1918.