Mid and West Wales Fire and Rescue Service remain at the scene of a major incident in Llangennech, Carmarthenshire.
Joint Fire Control received the first call at 11:10pm on Wednesday, 26th August 2020.
A freight train, carrying large amounts of diesel oil, caught fire and a number of its carriages had also derailed.
British Transport Police, Dyfed-Powys Police, Wales Ambulance Service Trust, Carmarthenshire County Council and Natural Resources Wales have also attended the incident on the railway line near Llangennech.
At the height of the fire, 14 main appliances were deployed to the incident, along with a high-volume pump, a support vehicle, an environmental unit, a water bowser and a foam pad. Firefighters fought the fire from two sectors.
Fire Service operations have since been scaled down to 8 main appliances, a high-volume pump and a foam tender.
As a precaution, roads were shut, and Dyfed-Powys Police evacuated a large number of homes within a radius of the fire.
Area Manager Simon Jenkins, Corporate Head of Response said: “I would like to say a huge thank you to our crews, who have worked tirelessly to fight and contain the fire at a challenging location and in difficult weather circumstances. I would also like to take this opportunity to thank the local community for their support and patience to our crews, during what is a very difficult time for local residence and business.”