Railways in Western Australia were developed in the 19th century both by the Government of Western Australia and a number of private companies. Legislation concerning railways was passed by:the Governor of Western Australia and the Western Australian Legislative Council, until 1890 the Parliament of Western Australia, from 1890, when WA achieved responsible government