 This became the Devon Valley Railway which was authorised by Parliament on 23 July 1858, but although parts of the line were quickly completed, difficult conditions in the central section meant that it was not until 1 May 1879 that it opened throughout.It was absorbed by the North British Railway on 29 June 1875.The Caledonian Railway was constantly trying to penetrate the Fife area to get access to east coast harbours and the coalfields.