Police borrowed a bouncy castle to cushion the fall of a man threatening to jump from the roof of a multi-storey car park in Swansea.
Officers placed the inflatable on Orchard Street during the seven-hour incident in the city centre.
Acting Superintendent Keith Jones said the "impromptu idea" came from one of his officers.
The man was talked down from the roof-top on Tuesday evening and taken to hospital for treatment.
Mr Jones said: "The use of the inflatable device was an impromptu idea which came from a local officer, which would have helped to reduce the likelihood of a serious injury should this gentleman have fallen.
"We believe that this is the first time that this method has been used in Swansea and was one of many tactics that were considered in order to resolve the situation."