Original sentence: Akbar the Great built Attock Fort from 1581 - 1583 under the supervision of Khawaja Shamsuddin Khawafi to protect the passage of the Indus.Attock was won by Marathas led by Peshwas (Prime Ministers of Maratha rulers, based in Pune) between 1751-1760.In 1813, the Sikh Kingdom wrested the Attock Fort from the Kingdom of Kabul.In 1833, Hari Singh Nalwa, the Commander-in-Chief of the Sikh Kingdom along its border with the Kingdom of Kabul, strengthened Akbar's fort of Attock by building the very high and massy bastions at each of its gates.It saw countless battles and skirmishes between the Sikhs and the Afghans in later years.Maharaja Ranjit Singh's commander Mohkam Chand wrested this strategically placed fort on the left bank of the Indus river from Shah Mahmud's vazier, Fateh Khan Barakzai.The brother of then Peshwa Balaji Bajirao named Raghunathrao won Attock.This fort had secured the passage of the Afghans to-and-from Kashmir