The railway link to London was fully opened in May 1840