The battle ended with the defeat of the insurgent army and the imprisonment of wounded Kosciuszko in the Petropavlovsk fortress in St. Petersburg.