10/03/2017 21:54 EDT | Updated 10/04/2017 09:38 EDT

Abdulahi Hasan Sharif, Edmonton Suspect, Was Ordered To Leave U.S. In 2011

Sharif was granted refugee status in Canada in 2012.

Edmonton Police Service
Abdulahi Hasan Sharif is shown in an Edmonton Police Service handout photo. Sharif has been charged in an attack which saw an Edmonton officer stabbed and four people injured when they were hit by a rental truck fleeing police.

EDMONTON — Authorities in the United States say a Somali refugee accused of attacking a police officer and running down four pedestrians in Edmonton was ordered removed from the country in 2011 by an immigration judge.

Abdulahi Hasan Sharif made his first court appearance Tuesday on 11 charges, including five of attempted murder, that were laid after a driver hit an Edmonton police officer with a speeding car, stabbed him and then mowed down pedestrians with a cube van during a downtown police chase.

Tactical officers forced the van on its side and arrested a suspect after using a stun grenade and a Taser.

Warning: video contains graphic footage of Edmonton attack

His case was put over until Nov. 14 to give him time to find a lawyer, but it could be called back sooner if Sharif can hire legal counsel before then.

Meanwhile, U.S. Immigration and Customs Enforcement said Tuesday that Sharif was transferred into its custody at the Otay Mesa Detention Center in San Diego on July 15, 2011, by U.S. Customs and Border Protection.

It says Sharif was ordered removed to Somalia on Sept. 22, 2011, and he waived his right to appeal the decision.

About two months later, he was released on an order of supervision by the department in San Diego "due to a lack of likelihood of his removal in the reasonably foreseeable future.''

He failed to report on his scheduled date of Jan. 24, 2012, and efforts to find him were not successful, the department said in a statement.

Sharif's name is spelled Abdullahi Hassan Sharif in the United States.

More from HuffPost Canada:

An official with Immigration and Customs Enforcement who spoke on the condition of anonymity told The Canadian Press they have no reason to believe it is not the same man.

Both a U.S. and Canadian government official told The Associated Press it is the same man.

The U.S. official said slightly different spellings are not uncommon. She also agreed to discuss the matter only if not quoted by name, because she was not authorized to discuss certain details of the case.

A spokesman for Public Safety Minister Ralph Goodale said Sharif entered Canada from the United States through a regular port of entry in 2012 and was granted refugee status later that year.

"As minister Goodale has stated, there was no information that would have raised any red flags when he entered Canada. Due to privacy laws we cannot disclose further details of this case,'' Scott Bardsley said in an emailed statement.

Chris Wattie/Reuters
Public Safety Minister Ralph Goodale takes part in a news conference in Ottawa on June 20, 2017.

"According to U.S. authorities, he was not detained for criminal activity.''

Bardsley said generally, individuals who are inadmissible, including for serious crimes, would be ineligible to make an asylum claim in Canada.

"Being detained for immigration purposes in another country would not prevent someone from being able to make an asylum claim in Canada,'' he said.

Sharif, 30, appeared on closed-circuit TV in a courtroom in Edmonton and followed the proceedings with the help of an interpreter. The accused spoke briefly with a lawyer who stepped forward to help.

Being detained for immigration purposes in another country would not prevent someone from being able to make an asylum claim in Canada.Scott Bardsley

Edmonton police have raised the possibility of terrorism charges against Sharif because there was an Islamic State flag in his car and he was investigated two years ago for espousing extremist views.

The RCMP has said the investigation is complex and no terrorism charges have been laid.

Mahamad Accord, a member of Edmonton's Somali community, said he will do what he can to help Sharif apply for legal aid if he can't afford to hire his own lawyer.

"As you know Canadians — everyone has the right to a fair trial,'' Accord said outside court.

He said there has been lots of hearsay about Sharif, but no first-hand information.

Candace Elliott/Reuters
Edmonton Police investigate at the scene where a driver hit pedestrians then flipped the U-Haul truck he was driving, pictured at the intersection at 107 Street and 100th Avenue in front of the Matrix Hotel in Edmonton on Sunday.

Ahmed Ali, a man who described himself as a spokesman for the city's Somali community, said Sharif will get help with an interpreter, but wouldn't comment about helping him get a lawyer.

Ali also declined to answer questions about Sharif's background or whether Somalis are facing any backlash over the attacks.

"I would be lying if I told you that members of our community are feeling threatened, scared or concerned, because the EPS (Edmonton Police Service) has been doing a fantastic job, and so have the RCMP,'' he said outside court.

Sharif also faces charges of dangerous driving, criminal flight causing bodily harm and possession of a weapon for a dangerous purpose.

I would be lying if I told you that members of our community are feeling threatened, scared or concerned ...Ahmed Ali

Police have said they believe the suspect acted alone and without conspirators.

Const. Mike Chernyk was handling crowd control at a Canadian Football League game Saturday night when he was hit by a car that rammed through a barrier and sent him flying. The driver got out, pulled out a large knife and began stabbing Chernyk.

The constable was treated in hospital and released.

As of Monday, two of the pedestrians remained in hospital, one with a fractured skull.

RCMP have said Sharif was checked thoroughly in 2015 after police received a report that he may have been radicalized, but investigators determined that he did not pose a threat.

Also on HuffPost:

Photo gallery Edmonton Terrorist Attack 2017 See Gallery