It was bought from New South Wales in 1915 , to give the Australian Capital Territory ( ACT ) access to the sea . It was surrendered by the state of New South Wales to the Commonwealth Government in 1915 so that the Federal capital at Canberra would have `` access to the sea '' .