CHICAGO (CBS) — A man has been charged with attempted murder, after police said he fired at officers before they fired back and struck him in Little Village.

Walter Dennard, 19, of Englewood, was charged Tuesday, police said.

READ MORE: LIVE UPDATES: Chicago Sky's WNBA Championship Parade And Rally

The incident happened Sunday afternoon at 2728 W. 21st St., at Fairfield Avenue, police said.

Just after 3 p.m., officers saw someone acting suspiciously around 21st Street and Washtenaw Avenue – holding his side as he walked as if he might have a gun, according to Chicago Police Patrol Bureau Chief Fred Waller.

READ MORE: Bashful Chance The Rapper Mum On Where He'll Get His Chicago Sky Championship Tattoo

The man started to run, and officers chased him, Waller said. As they chased him, he took out a gun and fired at the officers, Waller said.

The man was wounded in the shoulder and the leg, but kept running, Waller said. He tried to hide near 21st Street and California Avenue, but officers found him, Waller said.

The gun he was using was found on top of a nearby garage, Waller said.

MORE NEWS: Supply Chain Issues: 'There Really Are Problems Everywhere,' Even For Small Companies

Dennard was taken to Mount Sinai Hospital and was still being treated there Monday night.