Steam railroads came to Brookline in the middle of the 19th century. The Boston and Worcester Railroad was constructed in the early 1830s, and passed through Brookline near the Charles River. The rail line is still in active use, now paralleled by the Massachusetts Turnpike. The Highland Branch of the Boston and Albany Railroad was built from Kenmore Square to Brookline Village in 1847, and was extended into Newton in 1852. In the late 1950s, this would become the Green Line D branch.