A suspect was dead after Canada's national police force thwarted what an official said was a suicide bomb plot.

A senior police official said late Wednesday the suspect allegedly planned to use a bomb to carry out a suicide bombing mission in a public area but was killed in a police operation. The official, who spoke on condition of anonymity because he was not authorized to speak about details ahead of a Thursday news conference, identified the suspect as Aaron Driver.

Driver, originally from Winnipeg, Manitoba, and in his mid-20s, was under a court order from earlier this year to not associate with any terrorist organization, including the Islamic State group and the Levant.

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."

A police operation continued well into Wednesday night in the southern Ontario town of Strathroy, about 140 miles (225 kilometers) southwest of Toronto.

In Strathroy, resident Irene Lee said late Wednesday that police had been camped out near her parents' convenience store since about 4:15 p.m. At about that time, she said she was at her home close by when she heard a loud noise. She said shortly afterward, a police officer came by to tell residents to stay inside their homes.