The Kuala Lumpur of 1872 beside the Klang River was described by Frank Swettenham as a "purely Chinese village", although a Malay stockade already existed at Bukit Nanas at that time. By 1875, after the Selangor Civil War participated by Pahang Malays had ended, Swettenham noted Malay quarters near the Chinese area in a sketch map he had drawn, and there were said to be 1,000 Chinese and 700 Malays in the town in this period (many of the Malays may have settled in Kuala Lumpur after the war). The population of Kuala Lumpur had increased to around three thousand in 1880 when it was made the capital of Selangor. A significant component of the Malay population in Kuala Lumpur of this period consisted of Malays recruited by the British in 1880 mostly from rural Malacca to establish a police force of 2–300, many of whom then brought their families here. Many of the Malays were originally from the other islands of Malay Archipelago i.e. Sumatra and Java such as the Mandailings, the Minangkabaus, Javanese, and Buginese began arriving in Kuala Lumpur in the 19th century, while the Acehnese arrived in the late 20th century. In the following decade which saw the rebuilding of the town it showed considerable increase with a large influx of immigrants, due in large part to the construction of a railway line in 1886 connecting Kuala Lumpur and Klang. A census in 1891 of uncertain accuracy gave a figure of 43,796 inhabitants, 79% of whom were Chinese (71% of the Chinese were Hakka 客家人), 14% Malay, and 6% Indian. Another perhaps more accurate estimate put the population of Kuala Lumpur in 1890 at 20,000. The rubber boom in the early 20th century lead to a further increase in population, from 30,000 in 1900 to 80,000 in 1920. In 1931, 61% of Kuala Lumpur's 111,418 inhabitants were Chinese, and in 1947 63.5%. The Malays however began to settle in the Kuala Lumpur in significant numbers, in part due to government employment, as well as the expansion of the city that absorbed the surrounding rural areas where many Malays lived. Between 1947 and 1957 the population of Malays in Kuala Lumpur doubled, increasing from 12.5 to 15%, while the proportion of Chinese dropped. The process continued after Malayan independence with the growth of a largely Malay civil service, and later the implementation of the New Economic Policy which encouraged Malay participation in urban industries and business.