Ancient history from Rawalpindi city|left In ancient times the whole or the greater part of the area between the Indus and the Jhelum seems to have belonged to a
Naga tribe called
Takshakas, who gave their name to the city of Takshasila. Known as
Taxila by the Greek historians, the location of the ancient city has been identified to be in the ruins of Shahdheri in the north-west corner of the District. At the time of Alexander's invasion Taxila was described by
Arrian as a flourishing city, known more for its tourism. Taxila having too weak army, locals of the city had immediately surrendered to Greek army without a battle; adds that the neighbouring country was crowded with inhabitants and was very fertile; and Pliny speaks of it as a famous city situated in a district called Amanda. The invasion of
Demetrius in 195 B.C. brought the Punjab under the Graeco-Bactrian kings. Later they were superseded by the Sakas, who ruled at Taxila with the title of Satrap. At the time of Hiuen Tsiang (Chinese explorer), the city was a dependency of
Kashmir.
Muslim era Sultan Mahmud Ghaznavi passed through the District after his defeat of Anandpal and capture of Ohind. The first mention of the
Gakhars occurs in the memoirs of
Babar, who gives an interesting account of the capture of their capital, Paralah. It was strongly situated in the hills, and was defended with great bravery by its chief Hati Khan, who escaped from one gate as the Mughal army marched in at the other. Hati Khan died by poison in 1525 ; his cousin and murderer Sultan Sarang then submitted to Babar, who conferred on him the area of Potwar. From that time on the Gakhar chieftains remained firm allies of the Mughal dynasty, and provided significant aid to the Mughal in their struggle against the house of Sher Shah. Salim Shah attempted in vain to subdue their country. In 1553 Adam Khan, Sarang's successor, surrendered the rebel prince Kamran to Humayun. Adam Khan was subsequently deposed by Akbar, and his principality given over to his nephew Kamal Khan. During the height of the Mughal empire, the family of Sarang retained its territorial possessions. Its last and Gakhars chief, Mukarrab Khan, ruled over a kingdom which extended from the Chenab to the Indus. and though tranquillity was disturbed by an insurrection four years later, led by a Gakhar chief with the object of placing a pretended son of Ranjit Singh on the throne, its administration was generally peaceful until the outbreak of the Mutiny in 1857. The
Dhunds and other tribes of the Murree Hills, incited by
Hindustani agents, rose in insurrection, and the authorities received information from a faithful native of a projected attack upon the station of Murree in time to organise measures for defence. The women near the station, who were present in large numbers, were placed in safety, while the Europeans and police were drawn up in a cordon round the station. The rebels arrived expecting no resistance, but were met with organised resistance and were repelled. The district of Rawalpindi was created during
British rule as part of
Punjab province. The district obtained its current boundaries in 1904 when
Attock District was created as a separate district. According to the 1901 census of India the population in 1901 was 558,699, an increase of 4.7% from 1891. During the period of British rule, Rawalpindi district increased in population and importance. ==Administrative division==