Forward Junior Hoilett scored a spectacular winner to earn Cardiff City a comeback home victory over Wolverhampton Wanderers and lift them out of the Premier League relegation zone.
Cardiff climbed to 15th on 11 points from 14 games, five behind 11th-placed Wolves who extended their winless league run to six games.
Right-back Matt Doherty celebrated his 200th league appearance for Wolves when he fired the visitors into an 18th-minute lead before Iceland midfielder Aron Gunnarsson equalised and Hoilett delighted the home fans with a curling shot 13 minutes from time.
Wolves looked sharper in the opening stages and Ireland international Doherty buried the ball into the roof of the net from three metres after Cardiff keeper Neil Etheridge parried a Raul Jimenez header into the defender's path.
The lively Harry Arter, who hit the post on the stroke of half-time, engineered the equaliser when he lofted a high ball into the penalty box and Sean Harrison headed it down for Gunnarsson to blast it past keeper Rui Patricio.
With both sides throwing men forward, the Bluebirds forced the final twist after Canadian Hoilett teed himself up to fire an unstoppable shot from the edge of the penalty area into the top corner of the net.
Match-winner Hoilett said his stunning strike - his first goal of the season - was the result of hard work on the training ground.
"It was a relief. I've been working hard all week in training, individually," he said. "It was credit to my hard work. But I enjoyed that one."
Hoilett, who scored nine goals in the Championship last season, revealed he had never played as a wing-back before.
"I was positive. It's the first time I've played there," he added. "The team supported me and told me to keep going forward and not worry about defending and that's what I did."
cardiff boss Neil Warnock said he could not ask any more of his players after his side's third Premier League win of the season had lifted them out of the bottom three.
"They're all doing their best so I can't have a go at them," he said. "We've just got to work harder to make sure we defend even better.
"But you saw the spirit. The whole club. It's not just the team is it? You've got to be impressed with the crowd tonight. Unbelievable noise.
"We closed them down in the right areas tonight and made it hard work for them."