In January 1761 the Marathas lost tens of thousands of men in a single day at the Third Battle of Panipat, and the confederacy that had spread across India suddenly looked finished. Within months the reigning Peshwa, Balaji Bajirao, died of grief, and the office passed to his second son, Madhavrao, a boy of about sixteen. On paper he inherited a bankrupt treasury, a demoralised army and an ambitious uncle, Raghunathrao, who expected to run everything as regent. What Madhavrao did over the next eleven years is one of the great recoveries in Indian history. He wrestled real authority away from his uncle, rebuilt the finances, disciplined the sardars, crushed the Nizam of Hyderabad, drove Hyder Ali of Mysore back again and again, and re-established Maratha weight in the north โ even restoring the Mughal emperor to Delhi under Maratha protection. Then, in 1772, tuberculosis killed him at twenty-seven. A contemporary chronicler judged his death a heavier blow to the Marathas than Panipat itself.