 The line was built by George Hudson's York and North Midland Railway and opened on 7 July 1845.The line was constructed remarkably quickly by the standards of the time, taking just one year and three days to complete the 42-mile route.This feat was possible because the Y&NMR decided against the more costly and time-consuming option of building a tunnel through the Howardian Hills south of Malton.