LIVERMORE -- A man suspected of using his Twitter account to possess and distribute child pornography died Tuesday when an Altamont Corridor Express train struck him on the tracks, authorities said.

Livermore resident Eric Hogue, 42, had been expected to surrender to police sometime Wednesday after police turned over their investigation to the Alameda County District Attorney's Office, Officer Steve Goard said. Police made contact with Hogue's attorney Tuesday and were advised that Hogue would turn himself in, Goard said.

Hogue's identity was confirmed by the Alameda County Coroner's Office.

Investigators served a warrant Jan. 30 on Hogue's residence in the 600 block of N. Livermore Avenue. Police said Hogue admitted to using a Twitter account to possess and distribute child pornography. A forensic exam of his computer and cell phone over the next 2¿1/2 weeks corroborated Hogue's admission, police said.

Hogue was expected to be charged with two counts each of possessing and distributing child porn.

He was pronounced dead on the Union Pacific tracks after the collision, which happened around 5:40 p.m., according to authorities. Thomas Reeves, a spokesman for ACE, said a person walked in front of the train, and Mark Davis, a spokesman for Union Pacific, said the collision did not happen at a crossing.

Livermore police are continuing the investigation and hope to speak with the conductor of the train to hear his version of events, Goard said.

No one else was injured in the collision.

Contact Rick Hurd at 925-945-4789 and follow him at Twitter.com/3rdERH.