The construction of the railway spurred the growth of the city. The first headquarters of the Federated Malay States Railways (now the National Textile Museum) near the F.M.S. Government Offices in the distance, .