Complex sentence: Rajaji saves all the passengers, but he himself cannot get out, but the police arrive just in time to save him.
Split into simpler sentences: Rajaji saves all the passengers, but he himself cannot get out. However, the police arrive just in time to save him.