A shocking video posted on social media has captured the moment an Edinburgh man is seen dangling dangerously from a third floor building window.
The footage, posted on TikTok, with the caption: "When you have to be dragged back in" shows the reckless male hanging out of a window on South Bridge over the weekend.
The man appears to be struggling to get back into the property after sitting on the ledge, having to be hauled back in by his friend.
READ MORE - Edinburgh schoolboys assaulted by balaclava-wearing gang after being asked for money
In what apparently starts off as a risky place to catch some fresh air, the man is seen striking a pose for pedestrians below.
Dressed in a light top and dark trousers, he is seen teetering on the ledge of the tenement about 30ft above the street below as bemused passers-by watch on.
He was spotted sitting out on the ledge of the window just above Burrito 'n' Shake before lifting a leg onto the windowsill of a flat.
A member of the public is seen in the street watching the drama unfold as others stroll past.
Although most watching found the funny side of the incident, there were also fears the situation could have easily turned to tragedy with one missed step.