The development attracted businesses, which established numerous shops along the roads, as well as newly wealthy residents, who made their homes in villas. Emerging ethnic communities were formed by migrants arriving from Western colonies, who found advantage in the treaties' extraterritorial provisions. Among them were Javanese Muslims, and Hindus, Muslims, and Jains from India, who established places of worship in their neighbourhoods, joining the Christian churches as the missionaries continued to expand their work through the founding of schools and hospitals. The roads were soon augmented by rail transport, as the Paknam Railway (the country's first line) opened along Thanon Trong in 1893, and electrified trams began running on Charoen Krung Road the following year. Another tram line, along Si Lom Road, opened in 1925.