Mark Hughes scored the winner as Barnet narrowly beat Burton Albion to secure League Two survival.
Mark Byrne put the Bees ahead with a deflected free-kick.
Burton's Jacques Maghoma fired in from the edge of the area to equalise, and Calvin Zola missed a penalty after being fouled in the area by Byrne.
Hughes grabbed the winner in the second half, volleying in from the edge of the area to condemn Hereford United, who beat Torquay 3-2, to the drop.
Martin Allen's side made a nervous start to the game but took an early lead through Byrne's free-kick, which deflected off the wall and left Burton goalkeeper Ross Atkins wrong-footed.
The Great Escape - again
Barnet have taken their battle against relegation from the Football League to the final day for each of the last three years - and survived each time
The home side were soon back on level terms though, with Maghoma sending a low drive into the bottom corner after linking with Zola on the edge of the area.
Zola could have given Burton the lead from the penalty spot after he was pushed over by Byrne, however, he blazed his effort wildly over the bar.
With Hereford leading against Torquay it looked as though Barnet were heading for relegation. However, captain Hughes squeezed home a left-footed volley to put his side back into the lead, before goalkeeper Dean Brill denied Patrick Ada an equaliser in injury time.
VIEWS FROM THE DRESSING ROOM
Burton Albion caretaker manager Gary Rowett told BBC Radio Derby:
"I felt that in the first half we played some quite nice football.
"They obviously wanted it more than us, had that little bit of desire, and I'm disappointed that it was another not great performance.
"I have to look over the last 10 games and say that we have achieved something, we've won three games when we couldn't win a single one. I have to take the positives."
Barnet manager Martin Allen told BBC London 94.9:
"It was a nervy afternoon, we didn't play that well in the first half but that was to be expected with the tension and anxiety throughout the week.
"The second half we played really well, we really stepped up to the mark and full credit to the players for that performance.
"That was total domination, it was really just a matter of time.
"Their were two penalties that didn't go our way but the captain got the fantastic shot and we got a deserved three points.
"It was a really special afternoon."
- 23 Atkins
- 04 Stanton Booked
- 05 James
- 08 Corbett
- 33 Ada
- 11 Palmer Booked
- 13 Taylor (Pearson - 66' )
- 19 Maghoma
- 22 Dyer
- 26 Bolder (Phillips - 75' )
- 10 Zola Booked
- 01 Poole
- 17 Phillips
- 31 Clucas
- 18 Pearson
- 25 Garnett
- 01 Brill
- 12 Mustoe
- 17 Hector
- 19 Saville
- 21 Kamdjo
- 04 Hughes
- 08 Byrne Booked
- 10 Deering
- 07 McGleish (McLeod - 46' Booked )
- 11 Holmes
- 22 May
- 18 O'Brien
- 30 Downing
- 15 Yiadom
- 25 N'Diaye
- 23 McLeod
Live Text Commentary
Full Time The final whistle is blown by the referee.90:00 +2:44
Inswinging corner taken by Chris Palmer.90:00 +1:29
Chris Palmer takes the inswinging corner, Patrick Ada takes a shot. Save by Dean Brill.90:00 +1:08
Inswinging corner taken left-footed by Chris Palmer from the right by-line, clearance by Jordan Mustoe.89:11
Unfair challenge on Izale McLeod by Ross Atkins results in a free kick. Direct free kick taken by Jordan Mustoe.87:51
Ben May produces a cross, Ross Atkins makes a save.87:16
Nathan Stanton gives away a free kick for an unfair challenge on Ben May. Direct free kick taken by Michael Hector.86:21
A cross is delivered by Ricky Holmes.84:36
Free kick awarded for an unfair challenge on Ricky Holmes by Andrew Corbett. Mark Byrne takes the free kick.82:47
Michael Hector gives away a free kick for an unfair challenge on Jimmy Phillips. Chris Palmer delivers the ball from the free kick right-footed from left channel, save by Dean Brill.81:52
Izale McLeod produces a left-footed shot from inside the six-yard box that clears the bar.79:40 Booking
Booking Nathan Stanton goes into the referee's book.79:38 Booking
Booking Booking for Izale McLeod for unsporting behaviour.79:01
Izale McLeod challenges Nathan Stanton unfairly and gives away a free kick. Ross Atkins takes the free kick.78:28
Foul by Calvin Zola on Clovis Kamdjo, free kick awarded. Dean Brill takes the direct free kick.77:23
Ricky Holmes takes a shot. Save made by Ross Atkins.75:59
Mark Byrne takes the inswinging corner, Ross Atkins makes a save.74:08 Substitution
Substitution Jimmy Phillips is brought on as a substitute for Adam Bolder.73:30
Izale McLeod has an effort at goal from long distance that misses to the right of the goal.72:51
Effort on goal by Jacques Maghoma from long range goes harmlessly over the target.
Corner taken left-footed by Jordan Mustoe from the right by-line, save by Ross Atkins.69:06
Mark Byrne has an effort at goal from just outside the box which goes wide of the left-hand upright.66:31
Unfair challenge on Jordan Mustoe by Jacques Maghoma results in a free kick. Direct free kick taken by Jordan Mustoe, Effort on goal by Mark Byrne from outside the box goes harmlessly over the bar.64:48
Direct free kick taken by Mark Byrne.64:48 Substitution
Substitution (Burton Albion) makes a substitution, with Greg Pearson coming on for Cleveland Taylor.64:48
Foul by Andrew Corbett on Ricky Holmes, free kick awarded.63:54 Booking
Booking Calvin Zola goes into the book for unsporting behaviour.63:45
Calvin Zola concedes a free kick for a foul on Dean Brill. Dean Brill takes the free kick.63:38
Chris Palmer takes a shot. Clovis Kamdjo gets a block in.59:53 Goal scored
Goal! - Mark Hughes - Burton 1 - 2 Barnet Goal scored by Mark Hughes from just outside the area to the bottom left corner of the goal. Burton Albion 1-2 Barnet.59:32
Mark Byrne takes a shot. Blocked by Nathan Stanton.57:51
Ben May fouled by Nathan Stanton, the ref awards a free kick. Jordan Mustoe takes the direct free kick.54:55
Sam Deering challenges Chris Palmer unfairly and gives away a free kick. Ross Atkins takes the direct free kick.53:46
Ricky Holmes crosses the ball.53:27
Cleveland Taylor takes a shot. Blocked by Clovis Kamdjo.51:42
Izale McLeod challenges Nathan Stanton unfairly and gives away a free kick. Ross Atkins restarts play with the free kick.50:54
Close range shot by Sam Deering goes wide of the left-hand post.49:16 Booking
Booking Mark Byrne booked.48:18
Ricky Holmes takes a shot. Blocked by Patrick Ada.47:17
The offside flag is raised against Izale McLeod. Ross Atkins restarts play with the free kick.46:43
Ben May produces a left-footed shot from the edge of the box and misses to the left of the goal.46:24
A cross is delivered by Jack Dyer, clearance made by Jack Saville.45:12
Chris Palmer takes the inswinging corner, save by Dean Brill.45:01
The second half has started.45:01 Substitution
Substitution (Barnet) makes a substitution, with Izale McLeod coming on for Scott McGleish.45:00 +2:12 Half time
Half Time The referee calls an end to the first half.45:00 +1:43 Booking
Booking Booking for Chris Palmer for unsporting behaviour.45:00 +1:26
Chris Palmer concedes a free kick for a foul on Sam Deering. Direct free kick taken by Jordan Mustoe.44:50
Free kick awarded for an unfair challenge on Andrew Corbett by Ricky Holmes. Free kick taken by Ross Atkins.41:51 Penalty
Penalty taken by Calvin Zola and missed.41:51
Penalty awarded for a foul by Mark Byrne on Calvin Zola.40:42
Ricky Holmes crosses the ball.38:48
The ball is swung over by Ricky Holmes, Andrew Corbett manages to make a clearance.37:48
Mark Byrne fouled by Adam Bolder, the ref awards a free kick. Mark Byrne takes the free kick.37:17
Chris Palmer crosses the ball, clearance by Clovis Kamdjo.36:32
Foul by Michael Hector on Cleveland Taylor, free kick awarded. Free kick taken by Jack Dyer.35:28
Inswinging corner taken by Jordan Mustoe.31:07
Calvin Zola fouled by Clovis Kamdjo, the ref awards a free kick. Chris Palmer takes the direct free kick.30:39
Ricky Holmes produces a right-footed shot from just outside the penalty box that goes wide left of the target.30:19
Adam Bolder takes a shot. Save by Dean Brill.26:09
The assist for the goal came from Calvin Zola.26:09 Goal scored
Goal! - Jacques Maghoma - Burton 1 - 1 Barnet A goal is scored by Jacques Maghoma from the edge of the area to the bottom right corner of the goal. Burton Albion 1-1 Barnet.25:05
Centre by Sam Deering.23:56
Jack Dyer produces a cross, clearance by Clovis Kamdjo.22:11
Chris Palmer has an effort at goal from outside the penalty box which goes wide left of the goal.20:05
Calvin Zola takes a shot. Save by Dean Brill.19:37
Patrick Ada fouled by Ricky Holmes, the ref awards a free kick. Nathan Stanton restarts play with the free kick.17:46
Jordan Mustoe challenges Cleveland Taylor unfairly and gives away a free kick. Ross Atkins takes the direct free kick. The ball is swung over by Andrew Corbett, clearance made by Clovis Kamdjo. Inswinging corner taken from the right by-line by Chris Palmer.16:42
Jacques Maghoma challenges Scott McGleish unfairly and gives away a free kick. Michael Hector takes the free kick.15:23
Effort on goal by Jack Dyer from just inside the area clears the crossbar.12:58
Scott McGleish challenges Nathan Stanton unfairly and gives away a free kick. Free kick taken by Ross Atkins.11:28
Free kick awarded for an unfair challenge on Jack Saville by Calvin Zola. Direct free kick taken by Dean Brill.10:32
Chris Palmer takes a inswinging corner to the near post.8:22
Corner taken by Chris Palmer.5:48
Assist by Jordan Mustoe.5:48 Goal scored
Goal! - Mark Byrne - Burton 0 - 1 Barnet Mark Byrne fires in a goal from just outside the penalty box to the bottom right corner of the goal. Burton Albion 0-1 Barnet.4:14
Unfair challenge on Mark Hughes by Adam Bolder results in a free kick. Free kick taken by Jordan Mustoe,2:31
Corner from the right by-line taken by Chris Palmer, save made by Dean Brill.0:11
Calvin Zola takes a shot. Save by Dean Brill.0:00
The ref blows the whistle to begin the match.
Live data and text provided by our data suppliers