A bike officer on routine patrol with his partner was shot in the leg Wednesday after a robbery in the Capitol Hill neighborhood, Denver Police Chief Robert White said.

A witness flagged down both officers who were on routine patrol at 7:55 p.m., pointing to someone who'd allegedly just robbed the 7-Eleven near Colfax Avenue and Washington Street.

According to White, as soon as the pair of officers walked up to the suspect, gunfire started ringing out. The wounded officer and suspect bad begun firing shots at one another.

The officer was seriously injured but is alert. White said he is in good spirits and is expected to fully recover. The DPD officer injured was released from Denver Health late Wednesday night.

The suspect, who was in grave condition after the shooting, died at the hospital Thursday morning, according to Denver police.

He has been identified as 29-year-old Camell Nelson.

Two bystanders were hurt in the exchange of gunfire, White said. Their injuries are considered minor. Police are unsure of who fired the shots that hit them.

White said the other officer did not fire their gun and was not hurt.

Officers closed Pennsylvania Street from 14th to 16th Avenue, Logan Street from 14th and 16th Avenue, Washington from 14th to 16th for their investigation These roads have since reopened.

Colfax Avenue was closed from Clarkson to Logan, but has also since reopened.

Several bars and restaurants are in the area, including Cheba Hut, 1up, Slice Works and X BAR.