Sylvan Ebanks-Blake's late strike sealed a precious 3-2 victory for Wolves against Sunderland in a dramatic encounter at Molineux.
Kevin Foley's goal five minutes into the second half had put Wanderers 1-0 up before efforts from Darren Bent and Danny Welbeck put the visitors in the driving seat.
Stephen Hunt drew things level, though, and Ebanks-Blake netted at the death to hand Mick McCarthy's side three much-needed points.
Wolves had the ball in the net as Richard Stearman stabbed George Elokobi's shot over the line, but the effort was ruled out for offside.
The Black Cats almost took the lead around the half hour mark as Kieran Richardson crashed a free-kick against Wayne Hennessey's post.
Ronald Zubar sent an attempt just the wrong side of the post before Foley drifted a ball across to Matt Jarvis, who cut inside and fired an effort at Craig Gordon. The Scotland goalkeeper could only parry the ball, and Foley was on hand to lash it into the corner.
Sunderland went level as Bent latched onto Asamoah Gyan's flick-on and coolly slotted the ball past Hennessey.
With just under 15 minutes to go Sunderland went ahead, Welbeck heading in Philip Bardsley's cross.
Wolves pulled themselves back level within four minutes, Elokobi getting a powerful header to Jarvis' cross and Stephen Hunt, who had come on for David Jones, bundling the ball in.
Ebanks-Blake netted the winner after being teed up by Kevin Doyle.