Police have confirmed the identities of all 78 people killed in Spain's worst train disaster for decades, according to reports.
Forensic science units had been working to identify remains since Wednesday night, when the Madrid to Ferrol service derailed as it approached the city of Santiago de Compostela.
Some 75 of those who died were identified through their fingerprints while additional DNA work was required to name the last three.
The train's driver, 52-year-old Francisco Jose Garzon Amo, remains in custody on suspicion of reckless homicide, with police attributing blame for the disaster to him.
Today, he left hospital after receiving treatment for chest trauma and was taken to a police station, but refused to answer questions from police.
An investigating judge has until Sunday to interrogate him before deciding whether to jail the driver as an official suspect awaiting trial, release him on bail or release him without charges.
Interior Minister Jorge Fernandez Diaz said today there were "reasonable grounds to think he (Garzon Amo) may have a potential liability".
"He has been detained since 7.40pm on Thursday for the alleged crime of reckless homicide," Fernandez Diaz said.
The president of the autonomous region of Galicia, Alberto Nunez Feijoo, said a public funeral for the 78 dead would be held at Santiago cathedral on Monday at 7pm local time.
One Briton was among the 168 injured passengers while at least 30 people are still believed to be in a critical condition.
In addition to people from all over Spain, nationals from the United States, Mexico and Algeria are believed to be among the dead.
Authorities are in possession of the train's so-called "black box", which is expected to shed further light on the cause of the disaster.
Adif, Spain's railway agency, confirmed that a high-tech automatic braking programme was installed on the track for most of the journey but stops just five kilometres (three miles) south of where the crash occurred.
From that point on, the driver has sole control of the brakes.
"Regardless of the system in place, the drivers know the speed limits. If these are respected, an accident should not take place," a spokeswoman said.
Early indications suggested the train was travelling at around 118mph - more than twice the 50mph speed limit - when it crashed while heading into a curve.
Gonzalo Ferre, president of Adif, said the driver should have started slowing the train four kilometres (2.5 miles) before reaching a dangerous bend that train drivers had been told to respect.
"Four kilometres before the accident happened he already had warnings that he had to begin slowing his speed, because as soon as he exits the tunnel he needs to be travelling at 80 kilometres per hour," Ferre said.
According to reports in the Spanish media, after realising the magnitude of the disaster Amo said: "I f***** up, I want to die."
In March 2012, the 30-year employee of Spanish train operator Renfe allegedly posted boasts on Facebook about how fast he was driving a train and joked about racing past police.
He is believed to have taken control of the train from a second driver about 65 miles south of Santiago.
Wednesday's train crash is the worst Spain has experienced since a three-train accident in a tunnel in the northern Leon province in 1944.
The latest incident comes less than two weeks after six people were killed and scores injured in a train crash just south of Paris.Suggest a correction