It was not immediately clear if the victim was on foot or in a car but the company said the accident did not happen at a railway crossing.

The Governor's Office Emergency Services said the incident occurred at around 9 a.m. near Arden drive and Railroad drive, and the city's fire and police departments were responding.

"Union Pacific is working with local authorities to understand what led up to the incident," the company said in an emailed statement.

(Reporting by Deep Vakil and Rahul Paswan in Bengaluru; Editing by Sandra Maler)