Iain Hume throws his shirt as he celebrates scoring Preston's winner
Iain Hume struck twice as as Preston North End climbed off the bottom of the table with a shock victory over promotion-chasing Swansea City.
Preston were ahead after just three minutes when Hume converted from the spot following goalkeeper Dorus de Vries' foul on Billy Jones.
Ashley Williams levelled for Swansea with a close-range header.
But Hume sealed a vital three points for boss Phil Brown's side with seven minutes to go after a brilliant run.
Swansea were keen to evoke the spirit of their 1981 visit to Preston on this trip to Deepdale as Brendan Rodgers' men looked to reignite their Premier League promotion push.
It was 30 years since John Toshack's team completed their stunning rise from the bottom division to the top-flight for their first time in their history with a 3-1 win in Preston in May 1981.
But bottom club North End needed the victory just as much and Brown's men enjoyed the best possible start when Hume scored inside two minutes.
De Vries brought down Jones after the full-back's marauding run caught out Swans counterpart Neil Taylor and Preston top-scorer Hume cracked home the resulting penalty to the left of De Vries' despairing dive.
De Vries was spared a red card as Williams and captain Garry Monk, back after almost three months out with a knee injury, was covering his keeper's back.
Then after Darren Pratley's 25-yard strike just whistled past Iain Turner's left-hand post, Preston had a glorious chance to double their lead.
Eddie Johnson wriggled goal-side of Taylor to be set free from Craig Morgan's ball over the Swans defence - but this time De Vries saved his left-back by tipping the American's shot wide.
Then another ball over the top caught Swansea's defence flat-footed as Keith Treacy should have added a second following an exquisite pass from Darren Carter.
But despite being put through one-on-one and with time to pick his spot, Treacy blazed over De Vries' bar - a miss Preston were left to rue inside 10 minutes as Ashley Williams headed Swansea level.
The Wales international is renowned for keeping goals out but the Swansea defender showed his predatory instincts to nod in his third goal of the season.
Nathan Dyer's long right-wing cross was headed back across goal by Scott Sinclair and after Fabio Borini's swivelled volley was blocked on the line by Preston's Ian Ashbee, Williams headed the rebound into an empty net.
Preston responded resiliently and midfielder Carter was denied a wonder goal by the crossbar after his curling, left-footed shot effort clipped the top of De Vries' woodwork.
Swansea then hit the woodwork themselves when Mark Gower's 25-yard free-kick beat keeper Turner but not the bar.
De Vries, who Preston could argue was lucky to be on the field, kept Preston out with a fine double-save early in the second-half.
The Dutchman firstly had to quickly change direction to palm Ian Ashbee's shot away from goal then De Vries had to alert to stop Barry Nicholson's powerful rebound.
Then De Vries' opposite number Turner made a good double-save from a quick Gower free-kick and Borini's rebound to keep the hosts level.
Brown's instance that Preston had to play "ugly" to beat the Championship's "most attractive side" seemed to be paying dividends when the hosts were threatening as Nicholson, Hume and Ashbee went close.
Then Hume, on loan from Barnsley, scored what could prove to be a crucial goal in Preston's survival bid with his fifth goal in four games.
The Canadian striker weaved a bit of magic to skip past Monk and Williams to drive a left-foot shot underneath De Vries for Preston's first win over a top-half club this season.
But North End's first three-match winning run for almost two years still means Brown's side are still eight points from safety.
Yet such a timely run could be prove key as Preston look to avoid returning to the third-tier they left 11 years ago.
Swansea's third successive away defeat meant that south Wales rivals Cardiff leapfrogged them into fourth place on goal difference.
90:00+4:25 The referee brings the game to a close.
90:00+2:58 Free kick awarded for a foul by Leon Britton on Nathan Ellington. Keith Treacy restarts play with the free kick.
90:00+2:06 Booking Fabio Borini goes into the referee's book.
Correction - 90:00+2:04 Free kick awarded for a foul by Fabio Borini on Adam Barton. Iain Turner restarts play with the free kick.
90:00+2:04 Free kick awarded for an unfair challenge on Adam Barton by Fabio Borini. Iain Turner takes the indirect free kick.
89:54 Unfair challenge on Keith Treacy by Alan Tate results in a free kick. Free kick taken by Keith Treacy.
88:46 Andrea Orlandi crosses the ball, blocked by Paul Parry. Corner from the left by-line taken by Andrea Orlandi, Adam Barton
makes a clearance.
84:43 Centre by Barry Nicholson, Corner from the right by-line taken by Keith Treacy, Alan Tate makes a clearance. Clearance made
by Alan Tate.
84:28 Centre by Nathan Ellington.
82:20 Booking Iain Hume receives a caution.
82:19 GOAL - Iain Hume:Preston 2 - 1 Swansea Goal scored by Iain Hume from inside the penalty box low into the middle of the goal. Preston 2-1 Swansea.
81:09 The ball is delivered by Nathan Ellington, Alan Tate gets a block in.
79:41 Substitution Ian Ashbee leaves the field to be replaced by Paul Parry.
78:52 Centre by Andrea Orlandi, Bongani Khumalo manages to make a clearance. Effort from outside the penalty area by Ian Ashbee
goes wide left of the target.
78:28 Foul by Craig Morgan on Fabio Borini, free kick awarded. Leon Britton takes the free kick.
78:28 Booking The referee shows Craig Morgan a yellow card for unsporting behaviour.
76:32 Iain Hume has an effort at goal from deep inside the area missing to the right of the goal.
76:22 The ball is swung over by Keith Treacy, clearance made by Andrea Orlandi.
76:16 Nathan Ellington delivers the ball, clearance by Garry Monk.
74:33 Keith Treacy takes a inswinging corner from the right by-line to the near post, Nathan Ellington takes a shot. Blocked by
Alan Tate. Corner from the right by-line taken by Keith Treacy, save made by Dorus De Vries.
74:11 The ball is swung over by Keith Treacy, Barry Nicholson takes a shot.
72:53 Scott Sinclair takes a shot. Save by Dorus De Vries. Foul by Fabio Borini on Keith Treacy, free kick awarded. The free kick
is swung in left-footed by Keith Treacy, Darren Pratley makes a clearance.
71:37 Substitution Darren Carter leaves the field to be replaced by Adam Barton.
71:37 Substitution Mark Gower goes off and Andrea Orlandi comes on.
70:20 Barry Nicholson delivers the ball.
68:38 Scott Sinclair delivers the ball, Ian Ashbee gets a block in. Corner taken by Mark Gower from the left by-line.
66:59 Keith Treacy challenges Darren Pratley unfairly and gives away a free kick. The free kick is swung in right-footed by Mark
Gower, save by Dorus De Vries. Short corner worked by Mark Gower. Centre by Mark Gower, clearance by Bongani Khumalo.
66:59 Booking The referee cautions Keith Treacy for unsporting behaviour.
64:37 Tamas Priskin is caught offside. Iain Turner takes the indirect free kick.
63:58 Corner taken by Mark Gower, Keith Treacy makes a clearance.
62:58 Substitution (Swansea) makes a substitution, with Tamas Priskin coming on for Nathan Dyer.
62:58 Substitution Leon Britton joins the action as a substitute, replacing Joe Allen.
62:46 The ball is crossed by Fabio Borini, Bongani Khumalo gets a block in.
61:06 The ball is sent over by Scott Sinclair, clearance made by Ricardo Gardner.
58:52 Unfair challenge on Nathan Dyer by Ricardo Gardner results in a free kick. Free kick taken by Alan Tate.
58:10 Substitution Eddie Johnson goes off and Nathan Ellington comes on.
56:27 Free kick awarded for an unfair challenge on Scott Sinclair by Ian Ashbee. Neil Taylor takes the indirect free kick.
55:54 Iain Hume gives away a free kick for an unfair challenge on Joe Allen. Neil Taylor restarts play with the free kick.
53:47 The ball is swung over by Neil Taylor, blocked by Billy Jones. Short corner taken by Mark Gower. Inswinging corner taken right-footed
by Mark Gower from the left by-line to the near post, Alan Tate has a headed effort at goal from close in which goes wide
left of the goal.
52:22 Shot by Iain Hume from deep inside the penalty area misses to the left of the target.
50:44 Joe Allen challenges Keith Treacy unfairly and gives away a free kick. Iain Hume delivers the ball from the free kick right-footed
from left wing.
50:11 Ricardo Gardner fouled by Darren Pratley, the ref awards a free kick. Free kick crossed left-footed by Darren Carter, clearance
by Darren Pratley.
48:56 The ball is crossed by Keith Treacy, Ashley Williams makes a clearance.
48:06 Ian Ashbee takes a shot. Save made by Dorus De Vries. Barry Nicholson takes a shot. Save made by Dorus De Vries.
47:53 The ball is swung over by Iain Hume, Alan Tate makes a clearance.
47:26 Fabio Borini takes a shot.
46:25 Ian Ashbee concedes a free kick for a foul on Nathan Dyer. Mark Gower shoots direct from the free kick,
45:01 The match restarts for the second half.
45:00+2:50 The referee blows for half time.
45:00+2:02 Free kick awarded for a foul by Billy Jones on Joe Allen. The ball is sent over by Mark Gower, Garry Monk produces a header
from inside the area that goes over the bar.
43:58 Inswinging corner taken by Iain Hume from the left by-line, Header from close in by Ian Ashbee misses to the right of the
43:52 A cross is delivered by Keith Treacy, Garry Monk gets a block in.
43:05 Eddie Johnson gives away a free kick for an unfair challenge on Garry Monk. Garry Monk takes the indirect free kick.
40:59 Barry Nicholson has an effort at goal from just outside the box which goes wide of the right-hand upright.
38:04 Free kick awarded for an unfair challenge on Iain Hume by Joe Allen. Iain Turner restarts play with the free kick.
36:19 Darren Carter takes a shot.
35:00 Darren Pratley challenges Ricardo Gardner unfairly and gives away a free kick. The free kick is delivered right-footed by
Iain Hume from left wing, Garry Monk makes a clearance.
30:30 Mark Gower takes the outswinging corner, Garry Monk has a headed effort at goal from close in which goes wide of the left-hand
28:33 Unfair challenge on Scott Sinclair by Billy Jones results in a free kick. Free kick taken by Mark Gower.
27:48 Fabio Borini takes a shot. Blocked by Craig Morgan.
26:40 Ricardo Gardner has shot on goal from just outside the penalty box which goes wide of the right-hand upright.
26:05 Short corner taken by Mark Gower.
23:49 Foul by Ricardo Gardner on Nathan Dyer, free kick awarded.
23:49 GOAL - Ashley Williams:Preston 1 - 1 Swansea Ashley Williams finds the net with a headed goal from close in. Preston 1-1 Swansea.
23:25 Fabio Borini takes a shot. Save by Dorus De Vries.
21:47 Free kick awarded for an unfair challenge on Fabio Borini by Ian Ashbee. Neil Taylor restarts play with the free kick.
21:42 Centre by Billy Jones, clearance made by Garry Monk.
18:51 The ball is sent over by Keith Treacy, Barry Nicholson takes a shot. Comfortable save by Dorus De Vries.
17:53 The ball is delivered by Alan Tate.
13:58 Fabio Borini challenges Bongani Khumalo unfairly and gives away a free kick. Craig Morgan takes the indirect free kick.
13:09 Keith Treacy takes a shot.
12:44 A cross is delivered by Neil Taylor, Craig Morgan makes a clearance.
10:47 Fabio Borini produces a right-footed shot from the edge of the area and misses to the left of the goal.
9:53 Eddie Johnson takes a shot. Dorus De Vries makes a save.
7:50 Scott Sinclair produces a right-footed shot from long distance which goes wide right of the goal.
7:04 Effort from outside the penalty box by Darren Pratley goes wide right of the target.
4:03 Alan Tate produces a cross, Billy Jones makes a clearance.
2:33 Penalty awarded for an unfair challenge on Billy Jones by Dorus De Vries.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.