Sydney Trains is a train operator of a commuter-based rail network centred on the metropolitan area of Sydney which comprises seven metropolitan lines. The entire length of railway in New South Wales is maintained by Transport for New South Wales which is a statutory authority of the Government of New South Wales. It was formed when CityRail was dissolved on 30 June 2013. The former CityRail network has over 2,060 km (1282 mi) of track. The Sydney Trains network extends up to Berowra, to the north, Richmond to the north-west, Emu Plains to the west, Waterfall to the south (with some peak hour services continuing to Helensburgh), and Macarthur to the south west.