The Manchester, Buxton, Matlock and Midland Junction Railway ran from a junction with the Midland Railway at Ambergate to Rowsley north of Matlock and thence to Buxton. In time it would become part of the Midland Railway's main line between London and Manchester, but it was initially planned as a route from Manchester to the East of England, via the proposed Ambergate, Nottingham, Boston and Eastern Junction Railway which would meet it a little further north along the North Midland line at Ambergate. The Act for a line from just south of Stockport to Ambergate was passed in 1846.