The first incident occurred Monday afternoon on North D Street.
Surveillance video obtained exclusively by Action News shows the suspect, 27-year-old Krandale Smalls of the 3900 block of D Street, walking down North D Street right around 4:00pm.
A patrol car pulled up next to him and that's when, police say, Smalls pulled out a .32 caliber Baretta and opened fire, striking the police car twice.
"Once in the driver door and once in the driver side rear door, almost hitting the officer in the head. The officer is very lucky to be alive," Philadelphia Police Chief Inspector Scott Small said.
The female officer, a 9-year veteran of the force, returned fire striking the suspect twice - grazing his head with one shot and the other hitting him in the chest. Smalls was last reported to be in critical condition at Temple Hospital.
It all happened right in front of Charles Schoffler's home. He tells us, "First I heard three shots, then she drew her gun, she shot, and I look and said 'He's down."
Police believe Smalls was behind an earlier attempted robbery and shooting on the 500 block of East Hart Lane.
That is where they found a 37-year-old woman with a gunshot wound to the stomach. That victim was last reported in critical condition.
Smalls is charged with: Attempted Murder, Aggravated Assault and related offenses.
The second incident happened around 12:30 a.m. Tuesday in the 600 block of East Ontario Street.
Police were investigating the earlier shooting when two plain-clothes detectives approached an armed man and ordered him to drop his gun.
That suspect, identified as 39-year-old Jose Delvalle of the 2500 block of North 7th Street, fired on police. Officers on the scene returned fire, hitting him in the stomach.
He was last reported to be at Temple Hospital in an unknown condition.
No officers were hurt in either incident.