SANTIAGO DE COMPOSTELA, Spain (AP) — Police say they have detained the driver of a train that crashed in northwestern Spain and killed 78 people.

Galicia region National Police Chief Jaime Iglesias says driver Francisco Jose Garzon Amo was officially detained in the hospital where is recovering.

Iglesias says Garzon Amo will be questioned "as a suspect for a crime linked to the cause of the accident." He says the driver is being guarded by police and cannot yet testify because of his medical condition. Iglesias said he did not have details of the medical condition but that it could delay the driver's statement.

Investigators, meanwhile, have taken possession of the train's "black boxes." Analysts will use them to try to determine why the train was traveling far above the speed limit when it crashed near a station in Santiago de Compostela, in the northwestern Galicia.

Police examining the remains of those killed in Spain's worst train crash in decades have lowered the death count from 80 people to 78 and said the count could change as they identify body parts and associate them with others.

Antonio de Amo of Spain's national police says the change has happened as forensic scientists have matched body parts with each other.

He told reporters Friday that 72 bodies have been identified so far and that six remain to be identified.