Railways have played an immense part in the history of New South Wales. The parallel lines extended as the population grew and themselves made possible new settlement and new industries. Railways crossed the mountain barriers that surround Sydney and opened up both the vast hinterland and the northern and southern coasts. Railways joined every part of New South Wales to Sydney in a distinctive, centralized pattern. They also joined New South Wales to the neighbouring colonies and states.