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. During World War I and II Dorset, located on the English Channel, was both a target and important to the Royal Navy. The large Portland Harbour, built at the end of the 19th century and protected by Nothe Fort and the Verne Citadel, was for many years, including during the wars, one of the largest Royal Navy bases. British, American and Canadian ships gathered in the harbour and nearby in Weymouth bay before the D-Day landings. Training for the landings also took place in Dorset, at the long sandy beach at Studland. Portland Harbour continued to be used as a Royal Navy and NATO training base until the 1990s. It is now a civilian port and recreation area which was used for the sailing events in the 2012 Olympic Games. Since the early 19th century, when George III took holidays in Weymouth while ill, Dorset's tourism industry has grown, with the seaside resorts of Bournemouth and Weymouth, the Jurassic Coast and the county's sparsely populated rural areas attracting millions of visitors each year. With farming declining across the country tourism now rivals agriculture as the main economy of the county. In 1974 the political boundaries of Dorset were modified, incorporating a small area of south west Hampshire which included the towns of Bournemouth and Christchurch. In 1996 Bournemouth and Poole became administratively independent from the county. In the 2016 United Kingdom European Union membership referendum, Dorset voted in favour of Brexit. In the 2019 structural changes to local government in England, the ceremonial county of Dorset was changed from consisting of a non-metropolitan county (itself divided into six non-metropolitan districts) and two unitary authorities, into consisting of two unitary authorities. The new unitary authorities in Dorset became; Bournemouth, Christchurch and Poole, consisting of the old unitary authorities of Bournemouth and Poole as well as the non-metropolitan district of Christchurch; and Dorset Council, which merged the five remaining non-metropolitan districts of East Dorset, North Dorset, Purbeck, West Dorset, and Weymouth and