Complex sentence: His successor Janoji took part in the wars between the Peshwa and the Nizam of Hyderabad, and after he had in turn betrayed both of them, they united against him and sacked and burnt Nagpur in 1765.
Split into simpler sentences: His successor Janoji took part in the wars between the Peshwa and the Nizam of Hyderabad. After he had in turn betrayed both of them, they united against him and sacked and burnt Nagpur in 1765.