Complex sentence: After the battle Potocki with his infantry and artillery retreated to Lviv, and the cavalry under the command of Stefan Czarniecki moved with the Tatars into the Ukraine for the purpose of pacification.
Split into simpler sentences: After the battle Potocki of infantry and artillery retreated to Lviv. And the cavalry under the command of Stefan Czarniecki moved with the Tatars in Ukraine for the purpose of pacification.