The crash had put the railway line out of action between Leicester and Peterborough.