Original sentence: A church in the city of Fastiv (still preserved) was named Tserkva Paliya after him.On October 17, 1702 Paliy and his Cossacks were defeated by the Polish army near the town of Berdychiv and later at Nemirov and at Werbicham  in february of 1703
Edited sentence: A church in the city of Fastiv(still preserved) was named Tserkva Paliya after him.On October 17, 1702 Paliy and his Cossacks were defeated by the Polish army near the town of Berdychiv and later at Nemirov and at Werbicham  in February of 1703