A man shot by Edmonton city police on Monday after brandishing a rifle in the middle of a busy intersection had a warrant for his arrest and was subject to a lifetime firearm prohibition, show court records.

Glenn Justin (Occo) Ironchild, 36, was critically injured after an officer responding to multiple calls of gunman near 137 Avenue and 50 Street opened fire just after 11:30 a.m. Monday. Ironchild, transported to the Royal Alexandra Hospital with gunshot wounds, was listed in critical condition.

The province’s police watchdog, the Alberta Serious Incident Response Team, has taken over the investigation but acting deputy police chief Darren Derko said when the 10-year member and a new recruit arrived on scene, the man took aim at them and the senior officer shot him.

Court documents pulled Tuesday show Ironchild's weapons ban relates to a court appearance on July 18, 2012, where he was convicted of assault with a weapon, assault causing bodily harm and threats to cause death.

Ironchild was sentenced to seven months in jail less five months time served and was hit with two years' probation.

As well as the firearms ban, court documents show that he was also wanted on an active warrant for breaching conditions after failing to appear for a court appearance on Jan. 10.

Ironchild’s history with Edmonton police also includes a 2008 case where he pulled a knife on a store clerk and later put it to his own throat before an officer stunned him with a Taser. Ironchild was charged with assault with a weapon and possession of an offensive weapon. Aggravated assault and robbery charges against Ironchild accused of being part of a group of six who in 2002 attacked another group of teens, lured to a basement suite for a party, were stayed.

Shortly before Monday's shooting, a post on Ironchild’s Facebook page said: “My phones gonna die but ima show something g you haven’t seen before….Prepare.” In another post during the same period, a three-minute video shows Ironchild in a bathroom holding a rifle and showing a bullet and talking into the camera.

On Tuesday, the Edmonton Sun confirmed that during the shooting, a bullet struck the windshield of an Edmonton Transit Service bus that had come to a stop at the intersection. No one on board the bus was injured.

"Although this is a rare incident, ETS takes the safety of our operators and customers very seriously," spokesperson Tarra Kongsrude said in an emailed statement.

A man shot by Edmonton city police on Monday after brandishing a rifle in the middle of a busy intersection had a warrant for his arrest and was subject to a lifetime firearm prohibition, show court records.

Glenn Justin (Occo) Ironchild, 36, was critically injured after an officer responding to multiple calls of gunman near 137 Avenue and 50 Street opened fire just after 11:30 a.m. Monday. Ironchild, transported to the Royal Alexandra Hospital with gunshot wounds, was listed in critical condition.

The province’s police watchdog, the Alberta Serious Incident Response Team, has taken over the investigation but acting deputy police chief Darren Derko said when the 10-year member and a new recruit arrived on scene, the man took aim at them and the senior officer shot him.

Court documents pulled Tuesday show Ironchild's weapons ban relates to a court appearance on July 18, 2012, where he was convicted of assault with a weapon, assault causing bodily harm a