Complex sentence: In 1761, he and his army contingent fought alongside the Peshwa in the Third Battle of Panipat between the Marathas and Afghans and he died in the same battle at the age of almost 27.
Split into simpler sentences: In 1761, he and his army fought alongside the Peshwa in the Third Battle of Panipat between the Marathas and Afghans. He died in the same battle at the age of almost 27.