DETROIT, Mich. – A man injured last week in a shootout with police is charged with several felonies, Prosecutor Kym Worthy’s office announced Sunday.

Javontae Deangelo Walker, 20, is accused of firing gunshots at two officers Thursday, Dec. 29, on the city’s east side. There were no officers injured. He is to be arraigned in a hospital early this week, reported mlive.com.

Police tried to stop an SUV being driven by Walker since it fit the description of one used in an armed robbery, according to the prosecutor’s office. Shots rang out toward officers as the vehicle sped away.

When the SUV stopped, Walker got out of the vehicle and is accused of pointing a gun at the officers, who then fired, wounding the man.

Even though he was struck by gunfire, Walker fled on foot to the 1400 block of Camden Avenue, where he hid in a house, but surrendered a short time later, the prosecutor’s office said.

Walker is charged with two counts of attempted murder; one count of first-degree home invasion, fleeing and eluding police and automobile theft; five counts of resisting and obstructing a police officer; and 10 counts of using a firearm to commit a felony.