In the spring of 1656, Hetman Stefan Czarniecki carried out a raid in Swedish-occupied Greater Poland, during he supported Polish guerrilla forces.
On May 20, he left Uniejów, and headed northwards, to Royal Prussia, where his division joined the local pospolite ruszenie, commanded by the Voivode of Malbork Voivodeship, Jakub Weyher.
Charles Gustav decided to act quickly, and in late May, he abandoned the siege, and together with his army marched southwards, reaching Bydgoszcz on May 31, to meet Adolph John.
On June 1, after crossing the Noteć near Rynarzewo, the Swedes attacked Czarniecki's camp, completely surprising the Poles, whose units were scattered in the area.
The Swedish victory was complete, the camp was destroyed, and several Polish officers were captured, including the royal envoy, Jan Dominik Dzialynski.