A 12-year-old Manitoba girl has died after being hit by a train Friday afternoon.

According to Richard Pelletier, the mayor of Ste. Anne, a town just over 40 km southeast of Winnipeg, the local girl was riding her bicycle through a pedestrian railway crossing when she was hit.

Pelletier, who received details about the collision from the Ste. Anne Police Department, said the girl was wearing an earpiece at the time of the collision.

Ste. Anne police, who are not commenting on the case, are deferring questions to CN Rail. In a written statement to CTV News Saturday, CN Rail spokesperson Jonathan Abecassis called the collision a “tragic accident.”

“Our thoughts and prayers are with the family of the victim and the local community,” Abecassis said. “Local police are investigating the circumstances surrounding this incident and are assisted by CN police."

In a statement on Transport Canada’s website Friday, Transportation Minister Marc Garneau said that it “is with great sadnss that I learned of the accident involving a young person at a railway crossing in Ste. Anne.”

“I would like to offer my heartfelt sympathies and prayers to the family and friends affected by this terrible accident,” Garneau added.

Any safety deficiencies that may be discovered by a possible Transportation Safety Board or Transport Canada investigation will be immediately addressed, Garneau stated.

“My top priority remains rail safety,” he said. “My officials will work closely with the railway company, the municipality and all law enforcement officials in order to determine the cause of this tragic accident.”

With a report from CTV Winnipeg’s Beth Macdonell