Complex sentence: In 1780 Cambay was taken by the army of general Goddard Richards, was restored to the Marathas in 1783, and was afterwards ceded to the British by the Peshwa under the treaty of 1803.
Split into simpler sentences: In 1780 Cambay was taken by the army of general Goddard Richards, but it was restored to the Marathas in 1783. Finally it was ceded to the British by the Peshwa under the treaty of 1803.