It started with a call of a man with a gun, which then lead to a police chase.
The red Pontiac minivan police were pursuing crashed, and one of the suspects received a head injury, then fled on foot.
Police say, that's when the officer approached the vehicle.
"As officers approached to investigate the two occupants, one male fled up Birch, the other male and an officer in a 24th district Jeep became involved in a struggle," said Lt. Frank Vanore of the Philadelphia Police Department.
There was a struggle for the officer's gun. That gun went off, hitting the suspect, identified as Israel Perez, in the stomach.
"What appears to have happened is the back plate of the magazine came off, and a lot of rounds fell out of the gun," said Lt. Vanore. "The officer was left with one round in the gun. The struggle continues, and during that struggle one round did strike the defendant one time in the stomach."
Yellow evidence markers could be seen all around the scene, marking the spots where the bullets fell.
Another officer hurt his knee, chasing the suspect who ran away. That suspect, identified as Ronald Williams, was captured, but not before police say he threw a substantial amount of drugs onto the rooftop of a nearby garage.
That officer was treated and released from Northeastern Hospital. The Williams is also being treated at Northeastern. Perez, the suspect who was shot, is being treated at Temple University Hospital.
Police say Perez was a wanted man with two arrest warrants against him. One was for possession of drugs, the other for posession of drugs with intent to deliver.