Most of the railways were developed during the British colonial period, with the first line (from Colombo to Kandy) opening on 26 April 1867. The railway was introduced as an economical means of transporting goods produced on the tea, rubber and coconut plantations to the main port in Colombo. After 1950s, the Sri Lankan economy became focused on industry rather than plantation agriculture. The road network also grew; with the introduction of lorries, a faster means of transporting goods, the amount of goods transported by rail declined. Since their network is more focused on plantation areas than on population and service centres, the railways have generated large losses.