The Royal Canadian Mountain Police has charged two men over an plot to "carry out a terrorist attack" against a passenger train in the greater Toronto area.
Police said the two men - who have been named as Chiheb Esseghaier and Raed Jaser - were not Canadian citizens and had been receiving direction and guidance from al Qaeda-linked elements in Iran.
"While the RCMP believed that these individuals had the capacity and intent to carry out these criminal acts, there was no imminent threat to the general public,rail employees, train passengers or infrastructure", the police said.
More top news
Emergency services were alerted to the crash at 3.50pm on Thursday, Sussex Police said.
WARNING: Some people may find some of the images in this report distressing.
Medical staff who helped during the Westminster terror attack have received a royal thanks for their life-saving efforts.