CHICAGO (CBS)–A man was shot by police after he tried to rob a Maywood Burger King on Sunday night, and a bystander captured the gunfire on a cell phone video.

At about 8:18 p.m., Maywood police responded to a report of an armed robbery at the Burger King restaurant near Lake Street and North First Avenue.
As the 42-year-old suspected robber left the premises, Maywood police officers were just arriving. Police fired at the suspect, whose name has not been released. It is unclear whether the suspect fired at police during the incident.

Two officers were transported to a hospital as a precaution and were treated and released.

Five employees were working at the restaurant when the robbery occurred, police said.

“Anytime you have a bb gun, a toy pistol painted, even some of these 3-dimensional replications, our officers don’t know,” said Valdimir Talley, the Maywood Deputy Chief of Police. “They’re trained to respond to threats. They perceived a threat and I believe they addressed it appropriately.”

READ MORE: Chicago Weather: Cold Temps Blow In This Week

Cell phone video shot by someone at a Walgreens store near the shooting shows a person running near the scene. He later drops to the ground after gunshots are heard.

Witnesses said they saw an exchange of gunfire between a man and officers who responded to the area. Over a dozen shell casings could be seen in the street outside a nearby Burger King where the shooting occurred.

READ MORE: Jussie Smollett Takes The Stand At His Disorderly Conduct Trial

Illinois State Police said their Public Integrity Task Force has been requested to investigate the incident, but further information could not be released due to the ongoing investigation.

Crime scene tape was still wrapped around the Burger King Monday morning.

The Illinois State Police Department’s Public Integrity Task Force is investigating the shooting.

MORE NEWS: DePaul Business Law Clinic Helps Build Businesses By Matching Law Students With Women Entrepreneurs

The two officers involved in the shooting were placed on administrative leave during the investigation.