In the 1870s, the British began to expand the railway from Peradeniya, a railway junction near Kandy, extending the route to the terminal station Badulla in 1924. This 178km-long stretch involved navigating through rainy, forested mountains, steep ridges and a series of sharp twists and turns by building an impressive mix of bridges, viaducts, tunnels and embankments. It took 52 years to complete.