York & North Midland Railway Company opened the York to Scarborough line 7th July 1845