Dramatic changes in the politics of Hindustan helped spur the Emperor into action. In the decade following the defeat of the Marathas at Panipat in 1761, and the death of 35,000 – an entire generation of Maratha warriors and leaders – the Afghans had had the upper hand in Hindustan from roughly 1761 until 1770.14