
A passenger train derailed near Santiago de Compostela in north-west Spain late on Wednesday, leaving dozens of people dead and many more injured.

The train, from the state-owned Renfe company, was headed to Ferrol from Madrid with more than 200 passengers on board. The cause of the derailment is not clear.

The moment that the train came off the tracks was captured by a security camera.

First images from the scene showed bodies being pulled from mangled wreckage. All eight carriages left the tracks - four overturned completely, officials said.

Some received help, including reassurance and treatment for shock, at the scene.

The rescue operation went through the night. Many local people went to hospitals to donate blood.

Mariano Rajoy, Spain's Prime Minister, visited the scene of the crash near Santiago de Compostela - the town where he was born. He declared three days of national mourning.

More than 140 people suffered a range of injuries.

The morning after, rescue turned into recovery as emergency workers sifted through seats and suitcases among the debris scattered over the tracks.

Cranes have been brought in to remove what is left of the carriages. A judge has been appointed to oversee the investigation into the crash.