In January 2004, after much criticism, and public perceptions of blame-shifting between units of the
State Rail Authority relating to operational failings, RailCorp was formed, taking over the passenger train operations of
CityRail and
CountryLink, and assuming responsibility for maintaining the greater metropolitan network from the
Rail Infrastructure Corporation. It was established as a non dividend paying statutory corporation. Initially governed by a Board of Directors as a state-owned corporation, changes to the resulted in RailCorp ceasing to be a state-owned corporation and becoming a NSW
statutory authority on 1 January 2009. Further changes to the resulted in abolition of the Board effective 1 July 2010 and the repositioning of RailCorp as an agency of
Transport NSW. This was followed by further structural changes under the Transport Legislation Amendment Act 2011, which saw Transport NSW replaced by
Transport for NSW, which was established as a controlled entity of the Department of Transport, with Rail Corporation New South Wales a controlled entity of Transport for NSW. RailCorp reported to the
Minister for Transport.
Restructure In May 2012, the
Minister for Transport announced a restructure of RailCorp from July 2013 that would: • establish
Sydney Trains to operate services in the Sydney Metropolitan area bounded by
Berowra,
Richmond,
Emu Plains,
Macarthur and
Waterfall • establish
NSW TrainLink to operate all other passenger services including those of
CountryLink • transfer capital projects and planning functions to
Transport for NSW • establish Transport Cleaning Services, a specialist division responsible for train cleaning • establish a customer service division • reduce RailCorp's function to asset owner • offer voluntary redundancies to 750 management and support staff The restructure resulted in
Sydney Trains and
NSW TrainLink, which were subsidiaries of RailCorp, operating railway passenger services in New South Wales under the Sydney Trains and NSW TrainLink brands. While being subsidiaries of Railcorp, Sydney Trains and NSW Trains were not controlled entities of RailCorp, but were instead controlled by
Transport for NSW.
CityRail and
CountryLink were also abolished. In July 2017, Sydney Trains and NSW Trains ceased to be subsidiaries of RailCorp and became standalone and independent agencies of
Transport for NSW.
Cessation RailCorp was disbanded and succeeded by the
Transport Asset Holding Entity (TAHE) on 1 July 2020. The new entity continued to own assets on behalf of Transport for NSW. The Residual Transport Corporation (RTC), which was formed in July 2017, would then own assets not suitable for TAHE ownership. ==Corruption investigation==