Complex sentence: Nalivaiko would however be subsequently executed in Warsaw, and a mob of Polish soldiers massacred the other prisoners, which led to deterioration of the Polish-Cossack relations.
Split into simpler sentences: Nalivaiko would however be subsequently executed in Warsaw, and a mob of Polish soldiers massacred the other prisoners. This led to deterioration of the Polish-Cossack relations.