
The incident took place on Huntriss Row, Scarborough, at around 7.52pm last night.
A North Yorkshire Fire and Resuce Service spokesperson said: "Scarborough crews released a male trapped in railings by use of ladders and other equipment after he became stuck fast attempting to retrieve his keys which had been flung over the railings by his partner."