PITTSBURGH (AP) — Crews have rescued a University of Pittsburgh student who became trapped between two off-campus buildings, reportedly after trying to jump from one rooftop to another to impress a woman he had just met.

Authorities didn’t immediately identify the man but say he could face charges once he’s treated for what’s believed to be a broken ankle. He was freed about 6 a.m. Tuesday after being trapped about four hours when he fell awkwardly into the narrow, debris-filled space between the buildings.

The man was bleeding but waved to TV news cameras as he was wheeled on a gurney to an ambulance.

Public safety officials say crews broke a hole through a restaurant wall to reach him, and lowered another medic on a rope to ensure the rescue efforts didn’t injure the man even more.

___

This story has been corrected to show the hole in the restaurant wall helped rescuers reach the man.