The Swanage Railway is a railway branch line from near Wareham, Dorset to Swanage, Dorset, England, opened in 1885 and now operated as a heritage railway. The independent company which built it was amalgamated with the larger London and South Western Railway in 1886. The passenger service was withdrawn in 1972, leaving a residual freight service over part of the line handling mineral traffic.