An East Midlands Trains spokesperson said:
Our first priority and thoughts are for those involved in the incident. Our staff ensured that passengers were safely escorted from the train and these passengers have now been been taken forward to Doncaster by alternative road transport. We would like to pass on our thanks to one of the local residents for his help and assistance with passengers from the train. We will work with Network Rail and the British Transport Police to ensure those involved in this incident are given every assistance.
Safety is our absolutely priority and we will do everything in our power to assist the investigation into identifying the cause of the incident. Whilst the emergency services are dealing with this incident, the line between Lincoln and Doncaster is expected to remain closed throughout the remainder of the day. A replacement bus service will be in place to cover services on this route. For further information, visit National Rail Enquiries.
More top news
The force is issuing security warnings after 157 bicycles were taken last month
The four people who were all related were killed on the A64 near Malton as they returned from a wedding in Leeds.
Sarah Champion quit in June as 172 Labour MPs backed a vote of no confidence in the party leader - but she has now asked for her job back.