In the 19th century the railways bought increased mobility and communications to the British people. Lines through Dorset include the South Western Main Line, from London to Bournemouth, Poole, Dorchester and Weymouth; the Heart of Wessex Line from Bristol to Sherborne, Dorchester and Weymouth; the West of England Main Line from London to Exeter, with stations at Sherborne and Gillingham; and the now dismantled Somerset and Dorset Joint Railway from Bath to Bournemouth. There were also a number of small branchlines, closed in the Beeching axe, such as those to Bridport and Swanage. The Swanage Railway has been reopened as a heritage railway.