Two goals in the last five minutes finally helped Leeds to a 4-2 victory at rock-bottom Stockport.
Leigh Bromby's 25-yard screamer put Leeds 3-2 up in the 87th minute, before Jermaine Beckford's second goal of the game in stoppage time wrapped up victory.
It looked ominous for Stockport as Leeds went in front in just the second minute.
Robert Snodgrass made a break from midfield before smashing home into the top corner from 20 yards.
Stockport struck back 10 minutes later, though, when Carl Baker curled in a low free-kick from just outside the box.
Leeds goalkeeper Casper Ankergren had to be at his best to twice keep out David Poole in quick succession, before Bradley Johnson responded with a superbly-struck volley which bounced out off the Stockport crossbar.
Stockport shocked Leeds when they went in front on the hour mark. Baker crossed from the left and defender Johnny Mullins stooped to head home.
However, Leeds struck back six minutes later as Beckford headed home his 18th goal of the season from Patrick Kisnorbo's cross.
Stockport winger Poole was red-carded in the dying seconds following a lunge on Max Gradel.
Copyright (c) PA Sport 2009, All Rights Reserved.