Historically Kuala Lumpur was a predominantly Chinese city, although more recently the Bumiputra component of the city has increased substantially and they are now the dominant group. 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.