Mile Jedinak's 89th-minute header relegated Peterborough to League One and sealed a place in the Championship play-offs for Crystal Palace.

In a dramatic finish at Selhurst Park, Jedinak rose to meet a free-kick and head into the bottom corner.

A draw would have kept Posh up and they led twice through two solo goals from Lee Tomlin and Nathaniel Mendez-Laing.

But Palace replied through Glenn Murray's penalty and Kevin Phillips equalised before Jedinak struck.

It was a cruel end to an afternoon of topsy-turvy emotions for the visiting fans, who had not only celebrated their side's goals but also news of events from the John Smith's Stadium where fellow strugglers Huddersfield and Barnsley were playing.

Peterborough's demise

  • Posh have spent two seasons in the Championship after winning promotion from League One via the play-offs in 2010-11
  • They lost their first seven games of the season but are relegated despite winning four of their final nine matches and suffering only two defeats in their last 13 games

Posh had started the day fourth from bottom, above Barnsley on goal difference and three points behind Huddersfield, and for long spells either the Terriers or Tykes were provisionally below them in the final relegation spot.

The game between the Yorkshire sides eventually finished 2-2, meaning a point would be enough for Posh. But though they led with seven minutes remaining, they were beaten at the death.

Their total of 54 points is the highest by a relegated team in Championship history.

Ultimately, results elsewhere meant Palace would have finished in the top six even if they had lost, but they came into the game needing victory to be certain.

With Peterborough also going all out for victory, the result was an enthralling encounter from the start.

Palace were the first to threaten, and it took an amazing goal-line clearance by Grant McCann to deny Murray, who followed up after Posh keeper Bobby Olejnik had parried Damien Delaney's point-blank header.

Under the cosh on the pitch early on, Posh were under more pressure once Barnsley took the lead at Huddersfield.

Peterborough fans react to Crystal Palace's winning goal

Peterborough fans react to Crystal Palace's winning goal, which sent Posh down

But things quickly got better for Darren Ferguson's side. After 28 minutes, Lee Tomlin picked up the ball on the left flank as Peterborough broke and beat five back-tracking Palace defenders before burying his shot past Julian Speroni.

Before half-time, however, they were back in trouble. Gabriel Zakuani made a needless and clumsy challenge on Danny Gabbidon from a corner and, from the resulting penalty, Murray stepped up to equalise. As things stood, Posh would again be in the bottom three.

But the real drama was yet to come. At first everything went Posh's way. A Huddersfield equaliser put Barnsley back in trouble, Tommy Rowe's superb goal-line clearance stopped Palace going ahead and Peterborough then took the lead when Mendez-Laing cut in from the right and beat Speroni with a bouncing shot.

Even Barnsley retaking the lead in West Yorkshire would not have sent Posh down and their position seemed even stronger when Huddersfield scored their second equaliser.

Crystal Palace's play-off dates

Friday 10 May: Crystal Palace v Brighton (19:45 BST)

Monday 13 May: Brighton v Crystal Palace (19:45 BST)

Now just a draw would be enough for Posh, but they wobbled in the 83rd minute when veteran Phillips came off the bench for Palace to squeeze home an equaliser with an expert finish into the bottom corner.

And the decisive moment came with a minute of normal time remaining. Stephen Dobbie swung over a free-kick and Jedinak found the net to end Peterborough's two-year stay in the Championship.

Meanwhile, Palace kept their promotion hopes alive. as their first win since 5 March sets up a play-off semi-final with arch-rivals Brighton next week.

Crystal Palace manager Ian Holloway:

"The way that game went is about as ridiculous as the last few weeks have been.

"What I'm finding out really quickly about this group is the confidence they have.

"We got back into the game twice when we needed to after we had got ourselves into a pickle and it worked.

"Kevin Phillips has been doing that all his career and hopefully he can help us. We've come through it now and I think we'll be stronger for that against Brighton."

Peterborough boss Darren Ferguson:

"To be so close to what we had set out to do and have it taken away from us in the last few seconds is the worst way it could have happened.

"We are all shattered. I had so much belief and confidence we would stay up. The only time I have thought we were down all season is now, when reality has sunk in that we are down.

"No words I can say now will make a difference. I really don't think we could have done any more with that group of players. It's just a bizarre season where 54 points sees us relegated. It's never happened before."

Lineup, Bookings (4) & Substitutions (5)

Crystal Palace

  • 01 Speroni
  • 02 Ward
  • 21 Moxey
  • 27 Delaney Booked
  • 33 Gabbidon
  • 07 Bolasie (Williams - 67' )
  • 08 Dikgacoi (Dobbie - 75' )
  • 10 Garvan (K Phillips - 67' )
  • 15 Jedinak Booked
  • 16 Zaha
  • 17 Murray Booked

Substitutes

  • 34 Price
  • 28 Ramage
  • 20 Williams
  • 30 Moritz
  • 09 K Phillips
  • 11 Dobbie
  • 18 Wilbraham

Peterborough

  • 01 Olejnik
  • 03 Alcock
  • 05 Zakuani
  • 06 Bostwick
  • 11 McCann
  • 14 Rowe
  • 26 Payne (Barnett - 90' )
  • 33 Pritchard (Knight-Percival - 88' )
  • 44 Mendez-Laing
  • 08 Tomlin
  • 34 Gayle Booked

Substitutes

  • 13 Day
  • 19 Little
  • 07 Swanson
  • 18 Ferdinand
  • 20 Knight-Percival
  • 37 McDonald
  • 09 Barnett
Ref: Pawson
Att: 22,154

Match Stats

Shots

11 9

On target

7 6

Corners

6 6

Fouls

10 9

Live Text Commentary

90:00 +4:07 Full time

Full Time The game is over, as the referee blows his whistle.

90:00 +3:40

Stephen Dobbie produces a right-footed shot from just outside the area that goes harmlessly over the target.

90:00 +3:09

Unfair challenge on Jonathan Williams by Lee Tomlin results in a free kick. Free kick taken by Mile Jedinak.

90:00 +1:09

Grant McCann restarts play with the free kick.

90:00 +1:09 Substitution

Substitution Jack Payne leaves the field to be replaced by Tyrone Barnett.

90:00 +1:09 Booking

Booking Booking for Glenn Murray.

90:00 +0:59

Glenn Murray gives away a free kick for an unfair challenge on Craig Alcock.

88:58

Assist on the goal came from Stephen Dobbie.

88:58 Goal scored

Goal! - Mile Jedinak - C Palace 3 - 2 Peterboro Mile Jedinak scores a headed goal from inside the penalty box. Crystal Palace 3-2 Peterborough.

88:19

Centre by Stephen Dobbie,

88:19 Booking

Booking Dwight Gayle is booked.

88:12

Dwight Gayle gives away a free kick for an unfair challenge on Jonathan Williams.

87:21 Substitution

Substitution Alex Pritchard leaves the field to be replaced by Nathaniel Knight-Percival.

86:19

Free kick awarded for an unfair challenge on Michael Bostwick by Glenn Murray. Craig Alcock takes the direct free kick.

82:12

The assist for the goal came from Mile Jedinak.

82:12 Goal scored

Goal! - Kevin Phillips - C Palace 2 - 2 Peterboro Kevin Phillips finds the net with a goal from the edge of the area to the top left corner of the goal. Crystal Palace 2-2 Peterborough.

81:32

Gabriel Zakuani gives away a free kick for an unfair challenge on Glenn Murray. The free kick is delivered right-footed by Stephen Dobbie from right channel, clearance made by Grant McCann.

80:51

Stephen Dobbie takes a shot. Robert Olejnik makes a save.

79:36

Close range shot by Glenn Murray goes over the bar.

78:29

The offside flag is raised against Glenn Murray. Robert Olejnik takes the indirect free kick.

76:15

Outswinging corner taken by Stephen Dobbie from the right by-line.

75:17

The ball is delivered by Dean Moxey, save made by Robert Olejnik.

74:08

Julian Speroni restarts play with the free kick.

74:08 Substitution

Substitution Stephen Dobbie comes on in place of Kagisho Dikgacoi.

74:08

Lee Tomlin is flagged offside by the assistant referee.

71:54

Grant McCann shoots direct from the free kick, save by Julian Speroni. Inswinging corner taken from the left by-line by Alex Pritchard.

71:54 Booking

Booking Mile Jedinak receives a caution for unsporting behaviour.

71:44

Free kick awarded for an unfair challenge on Nathaniel Mendez-Laing by Mile Jedinak.

68:53

The assistant referee flags for offside against Kevin Phillips. Robert Olejnik takes the free kick.

66:18 Substitution

Substitution Yannick Bolasie goes off and Jonathan Williams comes on.

66:18 Substitution

Substitution Owen Garvan leaves the field to be replaced by Kevin Phillips.

64:48

Glenn Murray concedes a free kick for a foul on Grant McCann. Craig Alcock takes the free kick.

64:22

Lee Tomlin produces a right-footed shot from just outside the area that goes wide left of the goal.

62:52

Assist on the goal came from Alex Pritchard.

62:52 Goal scored

Goal! - Nathaniel Mendez-Laing - C Palace 1 - 2 Peterboro Nathaniel Mendez-Laing grabs a goal from just outside the penalty area to the bottom right corner of the goal. Crystal Palace 1-2 Peterborough.

61:20

Corner from right by-line taken by Owen Garvan.

58:31

Wilfried Zaha takes a shot. Save by Robert Olejnik.

56:05

Glenn Murray takes a shot. Blocked by Michael Bostwick.

53:59

Foul by Dean Moxey on Nathaniel Mendez-Laing, free kick awarded. Grant McCann crosses the ball in from the free kick, clearance by Damien Delaney. Inswinging corner taken left-footed by Grant McCann, clearance by Glenn Murray.

52:40

Owen Garvan produces a left-footed shot from just outside the box that misses to the right of the target.

50:38

Mile Jedinak gives away a free kick for an unfair challenge on Lee Tomlin. Grant McCann shoots direct from the free kick, Julian Speroni makes a save.

47:52

Corner taken by Lee Tomlin.

45:03

Free kick awarded for a foul by Damien Delaney on Dwight Gayle. Strike on goal comes in from Michael Bostwick from the free kick.

45:01

The referee blows his whistle to start the second half.

45:00 +2:59 Half time

Half Time The whistle is blown to end the first half.

45:00 +1:58 Goal scored

Goal! - Glenn Murray - C Palace 1 - 1 Peterboro Glenn Murray scores a placed penalty. Crystal Palace 1-1 Peterborough.

45:00 +0:08

Corner taken by Owen Garvan played to the near post, Penalty awarded for an unfair challenge on Daniel Gabbidon by Gabriel Zakuani.

42:33

Michael Bostwick takes a shot. Save made by Julian Speroni.

33:47

Free kick crossed left-footed by Grant McCann, Daniel Gabbidon makes a clearance.

33:47 Booking

Booking Damien Delaney goes into the book for unsporting behaviour.

33:36

Damien Delaney challenges Nathaniel Mendez-Laing unfairly and gives away a free kick.

32:23

Inswinging corner taken by Lee Tomlin.

31:04

Inswinging corner taken from the right by-line by Grant McCann.

28:58

Yannick Bolasie fouled by Tommy Rowe, the ref awards a free kick. Direct free kick taken by Julian Speroni.

27:14 Goal scored

Goal! - Lee Tomlin - C Palace 0 - 1 Peterboro Goal scored by Lee Tomlin from outside the area to the bottom right corner of the goal. Crystal Palace 0-1 Peterborough.

26:08

Inswinging corner taken by Owen Garvan, save by Robert Olejnik.

22:33

Nathaniel Mendez-Laing produces a right-footed shot from just outside the box that misses to the right of the net.

18:55

Inswinging corner taken right-footed by Yannick Bolasie played to the near post, Headed effort from deep inside the penalty area by Glenn Murray goes harmlessly over the crossbar.

18:01

Dwight Gayle takes a shot. Julian Speroni makes a save.

17:17

Mile Jedinak concedes a free kick for a foul on Alex Pritchard. Alex Pritchard takes the free kick.

14:38

Inswinging corner taken left-footed by Grant McCann from the right by-line, Damien Delaney manages to make a clearance.

13:35

Dwight Gayle concedes a free kick for a foul on Daniel Gabbidon. Julian Speroni restarts play with the free kick.

12:36

Corner taken by Owen Garvan from the left by-line to the near post, Gabriel Zakuani manages to make a clearance.

11:33

Damien Delaney takes a shot. Robert Olejnik makes a save. Glenn Murray takes a shot. Blocked by Grant McCann.

10:53

Foul by Michael Bostwick on Owen Garvan, free kick awarded. Direct free kick taken by Owen Garvan.

6:32

Daniel Gabbidon concedes a free kick for a foul on Lee Tomlin. Alex Pritchard crosses the ball from the free kick right-footed from left wing.

6:16

Tommy Rowe concedes a free kick for a foul on Yannick Bolasie. Yannick Bolasie takes the free kick.

5:42

Yannick Bolasie delivers the ball, Robert Olejnik makes a comfortable save.

2:49

Gabriel Zakuani gives away a free kick for an unfair challenge on Glenn Murray. Mile Jedinak takes the free kick.

0:00

The referee gets the match started.

Live data and text provided by our data suppliers