On 12 July, first royal divisions appeared in Mątwy. A skirmish with rebel forces, which guarded the Notećriver ford soon took place. On the next day, other royal forces, consisting mostly of Lithuanian units appeared. Taking advantage of a fog, several hundred cavalrymen managed to cross the river, and soon afterwards, remaining royal divisions began to cross the Noteć. Lithuanian hetman Michał Kazimierz Pac however missed a chance to shatter rebel army, and decided to wait for Crown divisions. The defeat of royal forces was the result of several mistakes. Other from Pac's delay, royal leaders did not know exact positions of the rebels, thinking that their main units were located far from the ford. Furthermore, they did not get acquainted with the topography of the area. King John II Casimir, unaware of the danger, ordered the crossing of the whole army, which consisted of some 20,000 men. First, Lithuanian dragoons and reiters got to the other bank of the Noteć, followed by cavalry and Polish dragoons. Next were two cavalry divisions of Mikolaj Hieronim Sieniawski and John Sobieski. There was no cooperation between all these units, and after crossing of the Noteć, royal army created battle formation, with Lithuanian cavalry on the left, Crown dragoons in the middle and Crown cavalry on the right. Sobieski made a fatal mistake, placing the cavalry in front of the dragoons, as before the end of the battle, retreating cavalrymen trampled the foot soldiers. Meanwhile, Zarudny, who commanded front guard of the rebels, managed to retreat to a nearby hill, which he kept despite Lithuanian attacks. Soon afterwards, rebel cavalry, pospolite ruszenie and other forces joined Zarudny and his men. The cavalry of Sieniawski and Sobieski, pressed by other units, which were trying to cross the river, got mixed with dragoons, located in the center. At the same time, rebel cavalry charged, followed by pospolite ruszenie from Greater Poland and Lesser Poland. This attack took royal army by complete surprise: their cavalry was quickly destroyed, and signal to retreat was announced. Retreating cavalrymen trampled the dragoons: Sobieski tried to save the situation by ordering two cavalry units to attack, but this failed, and the future king himself had to retreat himself, narrowly escaping death. Lithuanian cavalry also retreated, leaving the dragoons to themselves. The river ford was filled with equipment, men and their horses, so under the circumstances, Jan Kazimierz ordered general retreat, abandoning those units which continued to fight. Following the battle, the rebels mercilessly murdered thousands of their prisoners, including some of the best soldiers of Poland and Lithuania.
Consequences of the Battle
The bloodbath and subsequent mass murder resulted in deaths of 3873 royal soldiers and 200 rebels. Most of the victims were most experienced and best military men of the two nations, including soldiers of Stefan Czarniecki, who had fought in the Ukraine, Muscovy and Denmark. Czarniecki himself did not participate in the battle, as he had died a few months before. Two weeks after the battle the Agreement of Łęgonice was signed. On 8 August 1666 John II Casimir and Lubomirski met each other at Jaroszyn.