The early Chinese and Malay settlements were along the east bank of the Klang River – the Chinese mainly settled around the commercial centre of Market Square; the Malays, later Indian Chettiars and Indian Muslims resided in the Java Street (now Jalan Tun Perak) area. In 1880, the state capital of Selangor was moved from Klang to the more strategically advantageous Kuala Lumpur by the colonial administration, and the British Resident William Bloomfield Douglas then decided that the government buildings and living quarters should be located to the west of the river. Government offices and a new police headquarters was built on Bukit Aman, and the Padang was created initially for police training. The Padang, now known as Merdeka Square, would later become the centre of the British administrative offices when the colonial government offices were moved to the Sultan Abdul Samad Building in 1897.