Lothian and Borders Fire and Rescue Service report using cutting equipment to free a 14-year-old boy this morning.
His leg had been impaled behind the knee on railings outside Drummond Community High School after a failed attempt to clamber over.
Fire fighters arrived in Bellevue Place at 8.30am, and took an hour to cut through the metal. The boy was taken to hospital with part of the railing still stuck in his leg.