A patient at Aberdeen Royal Infirmary had to be rescued from the roof after he clambered out of a ward window at night.
Shocked medics raised the alarm after spotting the middle-aged man on the corrugated sloped roof.
It is understood he used a bar from his bed to open a window of ward 103, in the area near the accident and emergency department.
Witnesses said two brave hospital staff climbed on to the roof – which was covered in frost because of freezing temperatures – to help the man get back inside the building safely.
A spokesman for NHS Grampian today confirmed the incident had taken place at around 11pm on Wednesday.
After looking into the circumstances, staff determined that appropriate measures were followed in the case, the spokesman added.
The incident took place on the roof outside the short-stay medicine ward, where the man is understood to have been a patient.
Witnesses said nurses on shift in the unit were alerted to a noise outside the window and pulled open the blinds to discover the man, who was said to be in a confused state.
While staff raised the alarm it is understood a fellow patient opened a window, which faced onto the roof, as far as it would go and held on tightly to the man’s hand until help could arrive.
Around five minutes later two men climbed out and slowly made their way over the slippy corrugated roof towards the patient.
He was then taken back inside the building.
No emergency services were required during the operation.
An NHS Grampian spokesman said: “There was an incident involving a patient at Aberdeen Royal Infirmary site on Wednesday night.
“The patient is safe. The family is aware and is fully satisfied that all appropriate measures were, and continue to be, taken.”