Ahmad Shah Durrani
The Maratha Confederacy had just been routed at the Third Battle of Panipat by Ahmad Shah Durrani and the Mughals had been restored in the year 1761.