The Southampton and Dorchester Railway was also formed and built a line from 1845 to 1847 from Southampton to Dorchester. It avoided Bournemouth, then barely a village, and ran via Ringwood and Wimborne Minster before reaching Dorchester. It took a winding route, which followed the easiest-to-construct links rather than linking settlements in a straight line. In particular, due to intervention by the Commissioners of Woods and Forests, the route between Southampton and Ringwood had to take a southward diversion through Brockenhurst, rather than the straight route through Lyndhurst that the company had envisioned. The line also bypassed Poole. Initially, Poole was served by a branch from Hamworthy (initially named Poole Junction) to a station on the opposite side of Holes Bay.