The Ferny Grove railway line is a suburban railway line in Brisbane, the state capital of Queensland, Australia. It is part of the Queensland Rail City network. History Based on initial surveys, in 1885 the Queensland Government planned to construct a railway line to Samford with the intention of extending it to Gympie. However, no immediate action was taken and further surveys resulted in the decision to construct the line to Gympie via the Mayne railway station (Bowen Hills) which created the North Coast railway line. The relocation of Brisbane's cattle sales yard from Normanby to Newmarket created a need to provide a railway to Newmarket. With financial guarantees provided by the Windsor Shire Council and the Enoggera Divisional Board, the Queensland Railways built a branch line from Mayne railway station (Bowen Hills) to Newmarket railway station to service the cattle yards and beyond to Enoggera railway station for suburban passenger services. This line opened on 5 February 1899. The suburban service to Enoggera was not very profitable and the Queensland Government resisted any efforts to extend the Brisbane tramway services to Enoggera to avoid further competition. With the financial assistance of the Australian Defence Department, the line was extended to Rifle Range railway station (now called Gaythorne railway station) on 16 February 1916. The line was extended to Mitchelton railway station on 2 March 1918. The line was extended to Samford railway station on 1 July 1918, to Samsonvale railway station (3 March 1919), to Kobble railway station (3 November 1919) and finally to Dayboro railway station on 25 September 1920. The additional traffic on the line led to its duplication to Newmarket in 1921. The sales yards were moved to Cannon Hill in 1931. On 5 May 1947, a packed excursion train derailed at Camp Mountain, after Ferny Grove railway station, in what is Queensland's worst rail tragedy, the Camp Mountain train disaster. The line was duplicated to Mitchelton in 1953, and the first automatic level crossing boom gates in Queensland were installed at Wilston Road, Newmarket in 1954. The line was closed beyond Ferny Grove in 1955 after the freight traffic was lost to road transport. Ferny Grove was initially known as Ferny Flats, but the railway department changed the name of the railway station because of a Ferny Flats in New South Wales; the surrounding area followed suit. 2008–2012 upgrades Between 2008 and 2012 the remaining