OTTAWA, Ontario (AP) — He seemed lost, "did not fit in," had drug problems, and went more than five years without seeing his mother. In recent weeks, he had been living at a homeless shelter and had talked about wanting to go to Libya — or Syria — but became agitated when he couldn't get a passport.
A day after Michael Zehaf-Bibeau launched a deadly attack on Canada's seat of government, a portrait of the 32-year-old Canadian began to emerge, along with a possible explanation for what triggered the shooting rampage.
Bob Paulson, commissioner of the Royal Canadian Mounted Police, said that Zehaf-Bibeau — a Muslim whose father was from Libya — may have lashed out in frustration over delays in obtaining a passport.
"I think the passport figured prominently in his motives. I'm not inside his head, but I think it was central to what was driving him," Paulson said.
In what the prime minister called a terrorist attack, Bibeau shot a soldier to death at Canada's national war memorial Wednesday, then stormed the Parliament building, where he was gunned down by the sergeant-at-arms. Bibeau was armed with what police said was a lever-action Winchester rifle, an old-fashioned, relatively slow-firing weapon.
The attack was the second deadly assault on Canadian soldiers in three days and forced the country to confront the danger of radicalized citizens in its midst.
It also exposed weak spots in security:
— During the attack, Prime Minister Stephen Harper hid in a closet-like space within a Parliament caucus room. The Mounties who are assigned to protect him were on the other side of the doors to the room. From now on, Paulson said, the Mounties will guard the prime minister around the clock, wherever he goes.
— In the wake of the tragedy, all members of the Canadian military have been ordered to avoid wearing their uniforms in public while doing such things as shopping or eating at restaurants.
— Earlier this week, the Mounties said that there are about 90 people in the country who are suspected of planning to join up with extremist fighters abroad or who have returned from such activity. But Paulson said Thursday that Zehaf-Bibeau was not on that list and was not under surveillance, in part because it was not until after the shooting rampage that they learned from his mother that he wanted to go Syria, where a host of militant groups such as Islamic State are fighting.
— Authorities are investigating how the gunman obtained the rifle, when he should been prohibited from possessing one because of his criminal record.
As for Zehaf-Bibeau's passport application, it "was not rejected. His passport was not revoked," Paulson said. "He was waiting to get it, and there was an investigation going on to determine to see whether he would get a passport."
That obstacle appeared to weigh heavily on Zehalf-Bibeau, a petty criminal with a long rap sheet, including a string of drug offenses.
Abubakir Abdelkareem, who often visited the Ottawa Mission, a homeless shelter downtown where Zehaf-Bibeau stayed in recent weeks, said Zehaf-Bibeau told him he had had a drug problem but had been clean for three months and was trying to steer clear of temptation by going to Libya.
But in the three days before the rampage, "his personality changed completely," Abdelkareem said. "He was not talkative; he was not social" anymore and slept during the day, said Abdelkareem, who concluded the man was back on drugs.
Lloyd Maxwell, another shelter resident, said that Zehaf-Bibeau had lived for some time in Vancouver, then Calgary, then came to Ottawa specifically to try to get a passport, believing that would be more easily accomplished in the nation's capital.
"He didn't get it, and that made him very agitated," Maxwell said. Maxwell said that he suggested to the man that he might be on a no-fly list, and "he kind of looked at me funny, and he walked away."
In an email to the AP expressing horror and sadness at what happened, Zehaf-Bibeau's mother, Susan Bibeau, said that her son seemed lost and "did not fit in," and that she hadn't seen him for more than five years until having lunch with him last week.
"So I have very little insight to offer," she said.
In a brief and tear-filled telephone interview with the AP, Bibeau said that she is crying for the victims of the shooting rampage, not her son.
"Can you ever explain something like this?" said Bibeau, who has homes in Montreal and Ottawa. "We are sorry."
While he was living in Vancouver in 2011, Zehaf-Bibeau was arrested on a robbery charge, but during a court-ordered psychological evaluation, he said he committed the crime for the sole purpose of getting incarcerated.
"He wants to be in jail as he believes this is the only way he can overcome his addiction to crack cocaine," the evaluation report said. "He has been a devoted (Muslim) for seven years and he believes he must spend time in jail as a sacrifice to pay for his mistakes in the past and he hopes to be a better man when he is eventually released."
The evaluator said that while Zehaf-Bibeau was making "an unusual choice," he didn't appear to be mentally ill. He pleaded guilty to a lesser charge of making threats and was released after just over two months.
After initially reporting that two or three assailants may have taken part in the shooting rampage, Canadian police conceded Thursday that Zehaf-Bibeau was the lone gunman.
The bloodshed raised fears that Canada is suffering reprisals — perhaps so-called lone-wolf attacks — for joining the U.S.-led air campaign against Islamic State extremists in Iraq and Syria.
On Monday, a man described as an "ISIL-inspired terrorist" ran over two soldiers in a parking lot in Quebec, killing one and injuring the other before being shot to death by police. Before the attack, Canadian authorities feared he had jihadist ambitions and seized his passport when he tried to travel to Turkey.
The prime minister noted that both attacks were carried out by citizens born in Canada.
"The fact of the matter is there are serious security threats in this country, and in many cases those serious security threats continue to be at large and not subject to detention or arrest," Harper said.
Elizabeth May, leader of the Green Party, said in Parliament that this week's attacks were probably "the acts of isolated, disturbed and deeply troubled men who were drawn to something crazy."
Paulson appeared to agree in Zahef-Bibeau's case, saying that his history of crime, violence, drugs and "mental instability" contributed to his radicalization. Court records indicate Zehaf-Bibeau had a string of convictions for assault, robbery, drug and weapons offenses, and other crimes.
The police commissioner said Zehaf-Bibeau's email was found on the hard drive of someone charged with a terrorist-related offense. He didn't say who and described the connection as tenuous.
Meanwhile, Kevin Vickers, the 58-year-old Parliament sergeant-at-arms credited with shooting and killing Zehaf-Bibeau, got a rousing standing ovation in the House of Commons for saving lawmakers' lives. Vickers, dressed in his ceremonial robe and carrying his heavy mace, acknowledged the applause by nodding solemnly.
The former Mountie said in a statement that he was "very touched" by the attention but that he has the close support of a remarkable security team.
Gillies reported from Toronto. Satter contributed from London.