A ferret trapped in a metal fence had to be cut free by the fire service.
The animal was found tangled in the mesh fencing at the DVLA centre on Mothers Way, Ossett, on Tuesday.
RSPCA inspector Charly Wain helped free the adult male ferret from the fence.
She said: “There’s no way the poor little ferret could have got out on his own.
“He was so badly tangled up, I knew I would have to call the fire service for help.”
West Yorkshire Fire and Rescue Service cut the ferret, now named Whoops, free from the fence.
Insp Wain said: “He was clearly in pain so I took him to straight to Abbey House Vets in Morley.
“He was given some pain relief but now seems absolutely fine.”
Vet Laura Smith, who treated Whoops, said: “This was such an unusual situation.
“I have never seen anything like it. I think Whoops had gone through the fence and got stuck.
“Instead of backing out he had turned and gone the other way and become even more stuck.”
The ferret is now in good health and he is thought to be a stray.
He has been taken to South Cheshire Ferret Rescue where he is looking for a new home.
Insp Wain said: “This ferret had a lucky escape and we are so grateful to the person who called us to let us know about him.
“There could have been a very different ending for Whoops but thankfully he is unharmed and will now go on to find a loving new home.”