A shirtless, shoeless man with what appeared to be white hospital ID bands on his wrist and ankle spent about four hours Sunday morning jumping from roof to roof in the Mission District as police tried to get him to come down.

The incident unfolded beginning just after 7 a.m. Sunday, and the SFPD tried various tactics to negotiate with the man and de-escalate the situation to avoid injuries. As ABC 7 reports, the man was ultimately taken into custody just before 11 a.m.

Footage from the scene shot by ABC 7 show the man climbing along precarious ledges wearing only a pair of shorts.

Witnesses say that he was "not the most cohesive person" and pretty clearly had just been discharged from a mental health or hospital facility.

Others say the only thing the man asked for was water. The video above also includes some interactions he had with police as he tried to evade them.

Thankfully no one was hurt!

ABC 7 reports that the man was taken for a mental health evaluation, and nothing further is known about his case.

Anyway, remember this guy? Good times.