 The 19th century saw Bedford transform into an important engineering hub.In 1832 gas lighting was introduced, and the railway reached Bedford in 1846.The first corn exchange was built 1849, and the first drains and sewers were dug in 1864.