By YESICA FISCH and HAROLD HECKLE, The Associated Press

SANTIAGO DE COMPOSTELA, Spain (AP) -- The driver of a speeding train that derailed in Spain, killing 78 people, said minutes after the crash that he had been going fast and couldn't brake, a local resident who rushed to the scene of the accident said in an interview broadcast Sunday.

Evaristo Iglesias told Antena 3 television that he and another person accompanied the blood-soaked Francisco Jose Garzon Amo to a stretch of flat ground where other injured people were being laid out, waiting for emergency services to arrive.

"He told us that he wanted to die," Iglesias said.

"He said he had needed to brake but couldn't," Iglesias said. He added that Garzon said "he had been going fast."

The television channel showed a photograph of Iglesias in a pink shirt and cap helping carry the driver after the Wednesday accident in Santiago De Compostela.

It also aired television footage of Iglesias working beside the wrecked train to help other survivors.

Garzon has been released from the hospital and is in police custody on suspicion of negligent homicide. He is expected to give testimony to an investigating judge later Sunday, though he exercised his right to remain silent when police tried to interview him.

The judge will also have access to information contained in the train's "black box," which is similar to those found on aircraft.

The train carrying 218 passenger in eight cars blazed far over the speed limit into a high-risk curve, tumbling off the tracks and slamming into a concrete wall, with some of the cars catching fire.

Authorities have pointed to speed as the culprit, and officials have said that the brakes should have been applied four kilometers (2.5 miles) before the train hit the curve.

Investigators must determine if Garzon failed to apply the brakes or whether it was a technical failure.

Iglesias was among survivors and witnesses who began to give evidence to police on Sunday.

Meanwhile, authorities said forensic experts have identified the last three bodies among the dead. They did not reveal the names of the dead, but said Sunday that all of the families had been notified.

Mourning continued throughout Spain, with Sunday church services being held in remembrance of the dead.

A large funeral mass is planned for Monday afternoon, and the prime minister and royal family are expected to attend.

Loading Slideshow...
  • Spain's Prime Minister Mariano Rajoy, right, walks with the President of Galicia Alberto Nunez Feijoo, second from right, at the scene of a train crash in Santiago de Compostela, Spain, Thursday July 25, 2013. (AP Photo/Emilio Lavandeira, Pool)

  • A relative of passengers involved in a train crash talks on her mobile phone, as she waits for news at the Cersia Building on July 25, 2013 in Santiago de Compostela, Spain. (Photo by David Ramos/Getty Images)

  • Spanish prime minister Mariano Rajoy walks next to a derailed car at the site of a train accident in Santiago de Compostela, Spain, on Thursday July 25, 2013. (AP Photo/Lalo Villar)

  • A wounded man involved in a train accident arrives at a victims information point in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/Salome Montes)

  • Relatives of victims involved in a train accident wait for news outside a victim information point in Santiago de Compostela, Spain, on Thursday July 25, 2013. (AP Photo/Brais Lorenzo)

  • Relatives of victims involved in a train accident react at a victims information point in Santiago de Compostela, Spain, on Thursday July 25, 2013. (AP Photo/Brais Lorenzo)

  • Relatives of the victims involved in Wednesday's train accident react at a victims information point in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/ Salome Montes)

  • Relatives of the victims involved in Wednesday's train accident react at a victims information point in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/ Salome Montes)

  • Relatives of the victims involved in Wednesday's train accident react at a victims information point in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/ Salome Montes)

  • Spain's Prime Minister Mariano Rajoy, center, walks with Spain's Public Works Minister Ana Pastor, right and the President of Galicia Alberto Nunez Feijoo, second from left at the scene of a train crash in Santiago de Compostela, Spain, Thursday July 25, 2013. (AP Photo/Emilio Lavandeira, Pool)

  • Rescuers, forensics and police officers work at the site of a train accident near the city of Santiago de Compostela on July 25, 2013. A train hurtled off the tracks on July 24, 2013 in northwest Spain killing at least 77 passengers and injuring more than 140, an official said today, the country's deadliest rail disaster in more than 40 years. (EMILIO LAVANDEIRA/AFP/Getty Images)

  • A picture taken on July 24, 2013 shows derailed cars on the site of a train accident near the city of Santiago de Compostela. (MIGUEL RIOPA/AFP/Getty Images)

  • Rescuers work on the site of a train accident near the city of Santiago de Compostela on July 24, 2013. (MIGUEL RIOPA/AFP/Getty Images)

  • Rescuers work on the site of a train accident near the city of Santiago de Compostela on July 24, 2013. (MIGUEL RIOPA/AFP/Getty Images)

  • Rescuers work on the site of a train accident near the city of Santiago de Compostela on July 24, 2013. (MIGUEL RIOPA/AFP/Getty Images)

  • Rescuers work at the site of a train accident as the bodies of the victims, covered with blankets, lie on the ground, near the city of Santiago de Compostela on July 24, 2013. ( MIGUEL RIOPA/AFP/Getty Images)

  • Rescuers work at the site of a train accident as the bodies of the victims, covered with blankets, lie on the ground, near the city of Santiago de Compostela on July 24, 2013. (MIGUEL RIOPA/AFP/Getty Images)

  • Rail workers are seen next to derailed cars at the site of a train accident in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/Lalo Villar)

  • A rail personnel works next to the cabin of a derailed train following an accident in Santiago de Compostela, Spain, on Thursday, July 25, 2013.(AP Photo/Lalo Villar)

  • Rail personnel work next to the cabin of a derailed train following an accident in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/Lalo Villar)

  • Rail personnel and firefighters inspect derailed cars at the site of a train accident in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/ Lalo Villar)

  • Emergency personnel take a break while working at the site of a train accident in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/Lalo Villar)

  • Derailed cars are removed as emergency personnel work at the site of a train accident in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/ Lalo Villar)

  • Emergency personnel work at the site of a train accident in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/ Lalo Villar)

  • Emergency personnel work at the site of a train accident in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/Lalo Villar)

  • Derailed cars are removed as emergency personnel work at the site of a train accident in Santiago de Compostela, Spain, on Thursday July 25, 2013. (AP Photo/Lalo Villar)

  • Derailed cars are removed as emergency personnel work at the site of a train accident in Santiago de Compostela, Spain on Thursday July 25, 2013. (AP Photo/Lalo Villar)

  • This aerial image taken from video shows a general view of the site of a train accident in Santiago de Compostela, Spain, on Thursday July 25, 2013. (AP Photo)

  • This aerial image taken from video shows a general view of the site of a train accident in Santiago de Compostela, Spain, on Thursday July 25, 2013. (AP Photo)

  • This aerial image taken from video shows a general view of the site of a train accident in Santiago de Compostela, Spain, on Thursday July 25, 2013. (AP Photo)

  • This aerial image taken from video shows a general view of the site of a train accident in Santiago de Compostela, Spain, on Thursday July 25, 2013. The death toll in a passenger train crash in northwestern Spain rose to 77 on Thursday after the train jumped the tracks on a curvy stretch just before arriving in the northwestern shrine city of Santiago de Compostela, a judicial official said. (AP Photo)

  • A woman reacts as relatives of victims of a train accident wait for news while gathering at an area where information will be released in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/ Salome Montes)

  • Relatives of the victims of a train accident react outside the Cersia building, where they are attended by psychologists from the Red Cross in Santiago de Compostela on July 25, 2013. (CESAR MANSO/AFP/Getty Images)

  • Members of the Red Cross attend to relatives of the victims of a train accident outside the Cersia building in Santiago de Compostela on July 25, 2013. (CESAR MANSO/AFP/Getty Images)

  • Relatives of the victims of a train accident react outside the Cersia building, where they are attended by psychologists from the Red Cross in Santiago de Compostela on July 25, 2013. (CESAR MANSO/AFP/Getty Images)

  • Relatives of the victims of a train accident react outside the Cersia building, where they are attended by psychologists from the Red Cross in Santiago de Compostela on July 25, 2013. ( CESAR MANSO/AFP/Getty Images)

  • Relatives of the victims of a train accident react outside the Cersia building, where they are attended by psychologists from the Red Cross in Santiago de Compostela on July 25, 2013. (CESAR MANSO/AFP/Getty Images)

  • Relatives of victims involved in a train accident wait for news at a victims information point in Santiago de Compostela, Spain, on Thursday July 25, 2013. (AP Photo/Salome Montes)

  • Relatives of the victims of a train accident react outside the Cersia building, where they are attended by psychologists from the Red Cross in Santiago de Compostela on July 25, 2013. (CESAR MANSO/AFP/Getty Images)

  • A woman reacts as relatives of victims of a train accident wait for news while gathering at an area where information will be released in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/ Salome Montes)

  • Women react as relatives of victims of a train accident wait for news while gathering at an area where information will be released in Santiago de Compostela, Spain, on Thursday, July 25, 2013. (AP Photo/ Salome Montes)

  • In this photo taken on Wednesday July 24 2013, train driver Francisco Jose Garzon Amo is helped by two men as he is evacuated from the site of a train accident in Santiago de Compostela, Spain. (AP Photo/La Voz de Galicia/Xoan Soler)

  • A truck transports a carriage from the scene of a train crash on July 26, 2013 at Angrois, near Santiago de Compostela, Spain. (MIGUEL RIOPA/AFP/Getty Images)