CNN has learned the gunman responsible terrorizing the Canadian capital Wednesday, shooting and killing a soldier, had ties to jihadists.
Michael Zehaf-Bibeau's terror connections appear to have been online. Officials say he used social media to communicate with at least one other extremist who went overseas to fight in Syria.
In light of the Ottawa shooting, CNN's Tom Foreman explores the dangers posed by lone wolf attacks.
CNN is learning new details about the man who gunned down a soldier and kept the Canadian capital on lockdown for hours.
Canadian shooting: What we know - and don't know - a day later
According to a psychiatric evaluation done after a 2011 arrest, Michael Zehaf-Bibeau told authorities he wanted to be in jail.
Sources: Ottawa gunman had ties to jihadists
The now deceased gunman told authorities that it was the only way he could overcome his addiction to crack cocaine.
Martin Savidge is OutFront from Ottawa.