The Battle of Attock took place on 28 April 1758 between Maratha Empire and the Durrani Empire. The Marathas under Raghunathrao and Tukoji Rao Holkar were victorious in the battle and Attock was captured. The battle is seen as a great success for Marathas who hoisted Indian-Maratha-Flag in Attock and Afghanistan Border. Raghunathrao left Punjab after three months appointing Maratha sardar Narsoji Pandit with 4,000 Maratha troops to guard the fort from Afghans.
Lahore, Multan, Kashmir and other subhas on this side of Attock are under our rule for the most part, and places which have not come under our rule we shall soon bring under us. Ahmad Shah Durrani's son Timur Shah Durrani and Jahan Khan have been pursued by our troops, and their troops completely looted. Both of them have now reached Peshawar with a few broken troops... So Ahmad Shah Durrani has returned to Kandahar with some 12-14 thousand broken troops. Thus all have risen against Ahmad who has lost control over the region... we have decided to extend our rule up to Kandahar.
On 8 May 1758, the Marathas defeated Durrani forces in the Battle of Peshawar and captured the city of Peshawar. Marathas had now reached the Afghanistan border. Ahmad Shah Durrani got alarmed with this success of Marathas and started planning to recapture his lost territories.