Complex sentence: But Bhishma came there and he had to spent hours on him and at last to save Shalya he shot his Brahmastra eventually killing Sweta.
Split into simpler sentences: But Bhishma came there and he had to spend hours on him. To save Shalya he shot his Brahmastra eventually killing Sweta.