<P> The Third Battle of Panipat took place on 14 January 1761 at Panipat, about 60 miles (97 km) north of Delhi, between a northern expeditionary force of the Maratha Empire and invading forces of the King of Afghanistan, Ahmad Shah Abdali, supported by two Indian allies--the Rohilla Afghans of the Doab, and Shuja - ud - Daula, the Nawab of Awadh . Militarily, the battle pitted the artillery and cavalry of the Marathas against the heavy cavalry and mounted artillery (zamburak and jezail) of the Afghans and Rohillas led by Abdali and Najib - ud - Daulah, both ethnic Afghans . The battle is considered one of the largest and most eventful fought in the 18th century, and has perhaps the largest number of fatalities in a single day reported in a classic formation battle between two armies . </P> <P> The specific site of the battle itself is disputed by historians, but most consider it to have occurred somewhere near modern - day Kaalaa Aamb and Sanauli Road . The battle lasted for several days and involved over 125,000 troops . Protracted skirmishes occurred, with losses and gains on both sides . The forces led by Ahmad Shah Durrani came out victorious after destroying several Maratha flanks . The extent of the losses on both sides is heavily disputed by historians, but it is believed that between 60,000--70,000 were killed in fighting, while the numbers of injured and prisoners taken vary considerably . According to the single best eyewitness chronicle--the bakhar by Shuja - ud - Daulah's Diwan Kashi Raj--about 40,000 Maratha prisoners were slaughtered in cold blood the day after the battle . Grant Duff includes an interview of a survivor of these massacres in his History of the Marathas and generally corroborates this number . Shejwalkar, whose monograph Panipat 1761 is often regarded as the single best secondary source on the battle, says that "not less than 100,000 Marathas (soldiers and non-combatants) perished during and after the battle ." </P> <P> The result of the battle was the halting of further Maratha advances in the north, and a destabilisation of their territories, for roughly ten years . This period is marked by the rule of Peshwa Madhavrao, who is credited with the revival of Maratha domination following the defeat at Panipat . In 1771, ten years after Panipat, he sent a large Maratha army into northern India in an expedition that was meant to re-establish Maratha domination in that area and punish refractory powers that had either sided with the Afghans, such as the Rohillas, or had shaken off Maratha domination after Panipat . The success of this campaign can be seen as the last saga of the long story of Panipat . </P> <P> The decline of the Mughal Empire following the 27 - year Mughal - Maratha war (1680--1707) led to rapid territorial gains for the Maratha Empire . Under Peshwa Baji Rao, Gujarat, Malwa and Rajputana came under Maratha control . Finally, in 1737, Baji Rao defeated the Mughals on the outskirts of Delhi and brought much of the former Mughal territories south of Delhi under Maratha control . Baji Rao's son Balaji Baji Rao (popularly known as Nana Saheb) further increased the territory under Maratha control by invading Punjab in 1758 . This brought the Marathas into direct confrontation with the Durrani empire of Ahmad Shah Abdali (also known as Ahmad Shah Durrani). In 1759 he raised an army from the Pashtun and Baloch tribes and made several gains against the smaller Maratha garrisons in Punjab . He then joined with his Indian allies--the Rohilla Afghans of the Gangetic Doab--forming a broad coalition against the Marathas . The Marathas, under the command of Sadashivrao Bhau, responded by gathering an army of between 45,000--60,000, which was accompanied by roughly 200,000 non-combatants, a number of whom were pilgrims desirous of making pilgrimages to Hindu holy sites in northern India . The Marathas started their northward journey from Patdur on 14 March 1760 . Both sides tried to get the Nawab of Awadh, Shuja - ud - Daulah, into their camp . By late July Shuja - ud - Daulah made the decision to join the Afghan - Rohilla coalition, preferring to join what was perceived as the "army of Islam". This was strategically a major loss for the Marathas, since Shuja provided much - needed finances for the long Afghan stay in North India . It is doubtful whether the Afghan - Rohilla coalition would have the means to continue their conflict with the Marathas without Shuja's support . </P>

Who was the maratha peshwa when the third battle of panipat was fought