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. British era In 1849 Rawalpindi passed with the rest of the Sikh dominions under British rule; 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 Rawalpindi district is governed by the Rawalpindi District Council, while several regions sub-divided into one Municipal Corporation, two Cantonment Boards and Seven tehsils: Rawalpindi Metropolitan Corporation Rawalpindi Cantonment Board Chaklala Cantonment Board Demography In 2017 population of Rawalpindi district was 5,402,380. 2,736,180 were male and 2,665,089 were female. 2,396,672 (44.36%) lived in rural areas and 3,005,708 (55.64%) lived in urban areas. According to the 1998 census of Pakistan, the population of the district was 3,363,911 of which 53.03% were urban, and is the second-most urbanised