Police received several 911 calls reporting a naked man near the intersection of 20th Street and Allegheny Avenue.
Action News was told that the man was seen throwing rocks at passing cars, a SEPTA bus and several business windows and flipping over newspaper boxes.
Two officers from the 39th district arrived to the scene and encountered the man near the intersection of 21st and Westmoreland Streets.
Officials say the crazed naked man ran up and jumped onto the hood of the patrol car and began smashing out the windshield with the officers inside.
During the incident, police say, the officer in the passenger side pulled out his service weapon and shot the man twice in the chest as he continued to pound on the windshield.
The man then hopped off the patrol car and ran about three blocks before collapsing.
He was rushed to Temple University Hospital and is listed in critical condition.
The officers were not injured and the shooting is under investigation.