STRATHROY, Ontario – Police reportedly shot and killed an ISIS supporter Wednesday in Strathroy, Ontario, a city just two hours from Detroit.

Aaron Driver, 24, was killed during a possible terror threat, according to the Royal Canadian Mounted Police.

Driver attempted a terror attack in which he detonated a device, injuring himself and another person. He was shot before he could detonate a second device he was carrying, RCMP said. He allegedly planned to use a bomb to carry out a suicide bombing in a public area, a senior Canadian police official said late Wednesday.

Details of how Driver died have not been released. The Royal Canadian Mounted Police said it halted a possible attack after receiving credible information of a potential terrorist threat.

They said a suspect was identified and the "proper course of action has been taken" to ensure no danger to public safety.

Police said Driver has been on their radar since 2014 as a known ISIS supporter after he posted his support for the terror group to social media.

Driver was first picked up in Winnipeg in June 2015.

Amarnath Amarasingam, a post-doctoral fellow at Dalhousie University who studies radicalization and terrorism, maintained in 2015 that Driver had posted for several months on social media about disliking Canada and about a desire to move overseas.

Mounties applied for the peace bond, which can impose limits on Driver's activities, alleging in provincial court documents that investigators believed he might help with terrorist group activities.

When Driver was released later that month, he was ordered to wear a GPS tracking device and banned from going on the internet or having any communication with the Islamic State group, including wearing or carrying anything with an IS logo.

Driver was under a court order from earlier this year to not associate with any terrorist organization, including the Islamic State group. In February, Driver's lawyer and the prosecutor agreed to a peace bond stating there are "reasonable grounds to fear that he may participate, contribute directly or indirectly in the activity of a terrorist group."

In Canadian law, a peace bond is a criminal court order that requires a person to keep the peace for a period of time and charges are normally withdrawn.

Driver was allowed to remove his monitoring bracelet but continued to be prohibited from using a computer or cellphone -- rules that were to be in place until the end of August.

Stay with ClickOnDetroit.com for updates to this developing story.