The city was initially founded by the Mughal emperor Akbar as Atak-Banāras (Urdu: اٹک بنارس).[6] The name was changed to Campbellpur to reflect that of the Commander-in-Chief of British forces Sir Colin Campbell, who rebuilt the city.[6] The name 'Attock' was revived in 1978.[6]
After the founding of the city by the Mughal emperor Akbar,[6] the Attock Fort was completed in 1583 under the supervision of Khawaja Shamsuddin Khawafi, a minister of Akbar.[9] During the Mughal era, Attock was part of the Lahore Subah of Punjab.[10]
Nader Shah crossed through Attock when he defeated the Mughals at the Battle of Karnal and thus ended Mughal power in Northern India. The Battle of Attock took place at Attock Khurd on 28 April 1758, between the Durrani state and Maratha Empire. The Marathas under Raghunathrao Ballal Peshwa and Tukojirao Holkar Bahadur were victorious in the battle and Attock was captured.[11]
But this conquest was short-lived as Ahmad Shah Durrani came in person to recapture Attock and checked the Maratha advance after destroying their forces at Panipat. After the decline of the Durrani state, the Sikhs invaded and occupied Attock District. The Sikh Kingdom (1799–1849) under Ranjit Singh (1780–1839) captured the fortress of Attock in 1813 from the Durrani Nawab[citation needed]. After the occupation of Kashmir by Sikh Kingdom in 1820 many Kashmiris migrated to the plains of Attock.
The city's foundations were laid in 1908 and the city was named after Sir Colin Campbell, British Commander-in-Chief of India.[4] The old city was established near the 16th century near the Attock fort that had guarded the major routes between Central Asia and South Asia. Attock's first oil well was drilled in Khaur in 1915,[12] while the Attock Oil Company was established[13] with a selling arrangement with the Burmah Oil Company. During 1928, the region produced 350,000 barrels of oil.[14]
Attock was one of the northernmost points of the Punjab Province of British India prior to the partition; it thus found itself being a part of the common Hindi-Urdu phrase used to describe the length of colonial India: "Attock se Cuttack" (from Attock to Cuttack).
The term "Attock se Cuttack" was first used to describe the extent of the Maratha Empire after they conquered Cuttack in 1750 and Attock in 1758.[15]
After the independence of Pakistan in 1947, Hindu and Sikh minorities emigrated to India, while Muslim refugees from India settled in Attock. The Government of Pakistan renamed Campbellpur as Attock in 1978.[5] The city and surrounding area are known for their high representation among soldiers of the Pakistan Army.[16]
Education
According to the Alif Ailaan Pakistan District Education Rankings2019, Attock is ranked 3 out of 146 districts of Pakistan in terms of the quality of education. For facilities and infrastructure, the district is ranked 17 out of 146.[17] A detailed picture of the district's education performance is also available online.[18]
^Hasan, Shaikh Khurshid (2005). Historical forts in Pakistan. National Institute of Historical & Cultural Research Centre of Excellence, Quaid-i-Azam University. p. 37. ISBN978-969-415-069-7. Retrieved 17 July 2011.
^Singh, Surinder (1985). The Mughal Subah of Lahore, 1581-1751: A Study of Administrative Structure and Practices. Panjab University.