Pittsburgh police are investigating an armed robbery that happened early Sunday in Shadyside.

Around 12:45 a.m., Zone 4 police responded to the 300 block of Morewood Avenue and located the victim on the sidewalk, officials said.

The male victim told police he was walking home when a male perpetrator approached and demanded his valuables. The perpetrator then fired several gunshots into the air. The victim said he turned over his valuables, after which he said he was pistol-whipped over the head.

The victim sustained facial lacerations and a potential head injury and was transported to a nearby hospital in stable condition.

Police are investigating.