The York, Newcastle and Berwick Railway (YN&BR) was an English railway company formed in 1847 by the amalgamation of the York and Newcastle Railway as well as the Newcastle and Berwick Railway. Both companies were part of the group of business interests controlled by George Hudson, the so-called Railway King. In collaboration with the York and North Midland Railway and other lines he controlled, he planned that the YN&BR would form the major part of a continuous railway between London and Edinburgh. At this stage the London terminal was Euston Square (nowadays called Euston) and the route was through Normanton. This was the genesis of the East Coast Main Line, but much remained to be done before the present-day route was formed, and the London terminus was altered to King's Cross.
The YN&BR completed the plans of its predecessors, including building a central passenger station in Newcastle, the High Level Bridge across the River Tyne, and the viaduct across the River Tweed, that was later named the Royal Border Bridge. These were prodigious undertakings.
George Hudson's business methods had always been uncompromising, and eventually serious irregularities in his financial dealings were exposed, which led to his disgrace and resignation from the chairmanship of the YN&BR in 1849.
Co-operation with other railways in the YN&BR area led to a traffic sharing agreement, and then to amalgamation; on 31 July 1854 the North Eastern Railway was formed by the merger of the YN&BR with the Leeds Northern Railway and the York & North Midland Railway, as well as the Malton and Driffield Junction Railway three months later.