Frank Lampard kept Chelsea's title hopes alive with a stoppage-time winner against Wigan Athletic.
John Terry had put Guus Hiddink's side in front in the 25th minute with a thunderous volley but Olivier Kapo looked to have killed off Chelsea's title hopes with an 82nd-minute equaliser.
But England midfielder Lampard headed a vital winner to put Chelsea into second place on goal difference above rivals Liverpool.
Chelsea though remain seven points behind leaders Manchester United, who have a match in hand on the Blues.
Chelsea had goalkeeper Petr Cech to thank for keeping them on level terms in the 17th minute.
Mario Melchiot's ball was helped on by Amr Zaki to put Scharner clean through with just Cech to beat.
However, the Wigan midfielder saw his low shot pushed around the post by the Czech Republic international.
Chelsea then survived a double scare when Ashley Cole cleared a Titus Bramble header off the line and Terry did likewise seconds later with a Charles N'Zogbia shot.
But Chelsea hit back and Chris Kirkland saved superbly to deny John Obi Mikel.
tip over
The Nigerian midfielder let fly with a 25-yard shot that Kirkland did well to tip over the crossbar.
Chelsea went ahead against the run of play in the 25th minute. Emmerson Boyce partially cleared a cross by Lampard and captain Terry smashed home a volley on the edge of the penalty area to become the highest scoring defender in the club's history.
Chelsea were now dominant for the first time in the match and Nicolas Anelka was just wide with a header from Lampard's 31st-minute corner.
Chelsea should have gone further ahead in the 35th minute but Lampard failed to finish when found superbly in the area by Salomon Kalou.
Lampard's shot was kept out by Kirkland and Michael Ballack was then deemed offside when his header from the rebound was cleared off the line by Bramble.
A shot from Didier Drogba was well-saved by Kirkland but when the ball rolled out to Terry, the Chelsea captain was too high with his drive.
In the 43rd minute Kapo brought down Drogba and Lampard tried his luck with the free-kick even though it was some 40 yards from Kirkland's goal.
However, the England midfielder managed to lift the ball over the defensive wall and get it to bounce awkwardly in front of the Wigan goalkeeper.
In the 47th minute, a long ball by Terry was handled by Bramble as Drogba looked to cash-in.
low drive
Bramble atoned for his error though minutes later when Lampard put Drogba in the clear.
The Ivorian striker's shot beat the advancing Kirkland but the retreating Bramble acrobatically cleared the goalbound effort.
Wigan were finding it hard to keep pace with Chelsea but they occasionally managed to threaten.
In the 61st minute Cattermole sent a low drive wide of the target from 20 yards but generally, they could not rekindle the form they displayed in the early stages of the match.
Wigan began to find more space in midfield. A quick break in the 68th minute ended with the visitors winning a free-kick 25 yards from goal.
But substitute Hugo Rodallega's effort was charged down by Chelsea's defensive wall.
In the 78th minute Wigan wasted a chance to equalise when a cross from Maynor Figueroa was headed over by Scharner. Seconds later Zaki sent a curling effort just wide as Chelsea faded badly.
The inevitable happened in the 82nd minute when Figueroa's cross was turned in by Kapo at the near post.
But with three minutes of injury time to be played, a long clearance was flicked on by Ballack and Lampard got ahead of Melchiot to loop a header over Kirkland for the winner.