Complex sentence: In 1594 the Tartars destroyed the town, but couldn't occupy the castle, which was later sieged in 1644 by the army of George I Rákóczi, in 1657 by the Polish, in 1661-62 by the Ottoman and Tartar hordes.
Split into simpler sentences: In 1594 the Tartars destroyed the town, but could not take the castle. The castle was besieged in 1644 by the army of George I Rákóczi, in 1657 by the Polish, in 1661-62 by the Ottoman and Tartar hordes.