A train was rattling on the railways beside rows of houses.