Mansfield beat Wrexham to clinch the Blue Square Bet Premier title and secure promotion back to the Football League after a five-year absence.
The Stags went into the game knowing victory would send them up, with second-placed Kidderminster Harriers sitting two points behind.
And Matt Green's 40th minute penalty, awarded after Louis Briscoe was tripped by Glen Little, secured victory.
Play-off contenders Wrexham had centre-half David Artell sent off late on.
After receiving a straight red for a rash challenge on Colin Daniel, former Stags defender Artell is now set to be banned for the Reds' play-off campaign, which will see them take on the Harriers over two legs.
His dismissal came in a nervy final 10 minutes for Mansfield, who were keeping on eye on proceedings at Aggborough.
Kidderminster hammered relegated Stockport 4-0 in a game delayed by a mid-game pitch invasion, but their rout was not enough to stop Paul Cox's side from securing the title.
The hosts dominated in the early stages but Lee Stevenson and Adam Murray efforts failed to beat Wrexham keeper Andy Coughlin.
Green finally broke the deadlock with a superb spot kick driven in to the bottom corner - his 27th goal of the campaign.
Cox's men pushed for a second after the re-start and it very nearly came when Stevenson smashed the ball from the left side of the box and hit the bar.
Wrexham had few chances throughout, and their disappointing afternoon was capped off by Artell's sending off.
The Stags held on to win and celebrations at Field Mill ensued.
VIEW FROM THE DRESSING ROOM
Wrexham player-manager Andy Morrell told BBC Radio Wales:
"The result did matter because I want to win football matches and I thought we matched them, especially in the first half.
"In the second half I thought we tired a little bit and they saw the game out. I always thought we'd get a chance in the second half to maybe nick one.
"But it was not to be and they've got the most points in the league so they deserve to be top.
"The young lads that played, I think they found out what it's like in this league. They're strong and they try and bully you. We need to stand up to that a little bit more."
- 01 Marriott
- 04 Dempster
- 05 Jones
- 17 Beevers
- 28 Taylor
- 21 Murray Booked
- 26 Stevenson (Howell - 86' )
- 27 Chapman
- 07 Meikle (Daniel - 80' )
- 10 Green (Rhead - 90' )
- 11 Briscoe
- 02 Sutton
- 13 Howell
- 31 Daniel
- 08 Speight
- 16 Rhead
- 13 Coughlin
- 18 Walker
- 20 Clowes
- 32 Artell Dismissed
- 07 Cieslewicz (Creighton - 75' )
- 16 Hunt
- 17 Little (Royle - 85' )
- 28 Evans
- 15 Ogleby (Reid - 59' )
- 21 Colbeck
- 31 Adebola
- 05 Creighton
- 27 Parle
- 26 Morton
- 22 Reid
- 33 Royle
Live Text Commentary
Full Time The referee blows for the end of the match.90:00 +2:57
Foul by Bradley Reid on Adam Chapman, free kick awarded. Alan Marriott restarts play with the free kick.90:00 +2:26
Unfair challenge on Johnny Hunt by Matt Rhead results in a free kick. Indirect free kick taken by Andy Coughlin.89:32
Direct free kick taken by Adam Murray. Matt Rhead is ruled offside. Indirect free kick taken by Andy Coughlin.89:32 Substitution
Substitution Matt Rhead is brought on as a substitute for Matt Green.89:32 Dismissal
Dismissal The referee shows David Artell a red card.89:24
Foul by David Artell on Colin Daniel, free kick awarded.88:59
The ball is sent over by Johnny Hunt, clearance made by Lee Beevers.87:13
Louis Briscoe gives away a free kick for an unfair challenge on Leon Clowes. Free kick taken by Declan Walker.85:14 Substitution
Substitution (Mansfield) makes a substitution, with Anthony Howell coming on for Lee Stevenson.83:55
Adam Murray takes the free kick.83:55 Substitution
Substitution (Wrexham) makes a substitution, with Jonathan Royle coming on for Glen Little.83:55
Unfair challenge on Matt Green by Glen Little results in a free kick.83:13
Foul by Glen Little on Matt Green, free kick awarded. Adam Murray restarts play with the free kick.82:27
Bradley Reid produces a right-footed shot from just outside the area that goes wide left of the goal.82:14
Lee Stevenson is flagged offside by the assistant referee. Free kick taken by Andy Coughlin.80:53
Lee Beevers crosses the ball, save made by Andy Coughlin.79:16 Substitution
Substitution Lindon Meikle leaves the field to be replaced by Colin Daniel.77:44
Jay Colbeck has an effort at goal from outside the penalty area missing to the wide left of the goal.74:01
Outswinging corner taken from the right by-line by Adam Murray, David Artell manages to make a clearance.
Substitution Adrian Cieslewicz goes off and Mark Creighton comes on.74:01
The ball is delivered by Louis Briscoe, Glen Little makes a clearance.71:44
A cross is delivered by Lee Stevenson, David Artell makes a clearance.69:44
Declan Walker restarts play with the free kick.69:44 Booking
Booking Adam Murray is cautioned by the ref for unsporting behaviour.69:36
Free kick awarded for a foul by Adam Murray on Rob Evans.67:17
Foul by Lee Stevenson on Declan Walker, free kick awarded. Declan Walker delivers the ball, Bradley Reid takes a shot. Save by Alan Marriott.66:15
Lee Stevenson takes a shot.65:37
Louis Briscoe takes a shot. Save by Andy Coughlin.61:56
Louis Briscoe takes a shot. Blocked by Johnny Hunt.60:22
Close range shot by Lee Stevenson goes wide of the left-hand upright.60:10
Lee Stevenson takes a shot.59:35
Corner from the right by-line taken by Adam Murray, Dele Adebola makes a clearance.58:29
Andy Coughlin takes the indirect free kick.58:29 Substitution
Substitution Bradley Reid on for Robert Ogleby.58:29
Lee Stevenson is flagged offside by the assistant referee.56:46
Unfair challenge on Lee Beevers by Johnny Hunt results in a free kick. Alan Marriott takes the indirect free kick.55:31
Louis Briscoe produces a cross, David Artell manages to make a clearance. Corner taken by Adam Murray from the right by-line, Dele Adebola manages to make a clearance.53:27
The ball is sent over by Glen Little, Lee Beevers manages to make a clearance. The ball is swung over by Dele Adebola, clearance made by Lee Beevers. Corner taken right-footed by Jay Colbeck from the left by-line, fantastic save by Alan Marriott.52:38
Adam Chapman sends in a cross.48:54
Rob Evans gives away a free kick for an unfair challenge on Adam Murray. Free kick crossed by Adam Murray, clearance by Dele Adebola. Corner from the right by-line taken by Adam Murray, David Artell makes a clearance.46:25
Adrian Cieslewicz crosses the ball, clearance made by John Dempster.45:01
The second half kicks off.45:00 +4:38 Half time
Half Time The referee calls an end to the first half.45:00 +4:04
Foul by Greg Taylor on Adrian Cieslewicz, free kick awarded. Declan Walker delivers the ball, Leon Clowes takes a shot. Alan Marriott makes a save.45:00 +3:34
Foul by Matt Green on Glen Little, free kick awarded. Andy Coughlin takes the indirect free kick.45:00 +2:35
Corner taken right-footed by Adam Murray from the right by-line, Glen Little manages to make a clearance.45:00 +1:29
John Dempster produces a right-footed shot from inside the area that goes over the bar.45:00 +0:54
Johnny Hunt concedes a free kick for a foul on Lee Beevers. Free kick taken by Adam Murray.43:24
Free kick awarded for an unfair challenge on Jay Colbeck by Luke Jones. Free kick crossed left-footed by Johnny Hunt.41:32
Lindon Meikle is ruled offside. Free kick taken by Andy Coughlin.39:32
Assist by Louis Briscoe.39:32 Goal scored
Goal! - Matt Green - Mansfield 1 - 0 Wrexham Penalty taken right-footed by Matt Green and scored. Mansfield 1-0 Wrexham.38:33
Louis Briscoe fouled by Glen Little, the ref awards a Penalty.37:48
Jay Colbeck concedes a free kick for a foul on Lee Beevers. The free kick is delivered right-footed by Adam Murray from right wing, clearance by David Artell.34:30
Effort on goal by Lee Stevenson from deep inside the penalty area misses to the right of the target.32:17
Lee Stevenson takes a shot. Johnny Hunt gets a block in. Corner taken right-footed by Adam Murray from the right by-line, clearance made by Dele Adebola.29:56
Dele Adebola is penalised for a handball. Free kick taken by Alan Marriott.29:04
Robert Ogleby is flagged offside by the assistant referee. Alan Marriott restarts play with the free kick.28:21
Adam Chapman concedes a free kick for a foul on Jay Colbeck. Johnny Hunt restarts play with the free kick.26:45
Shot by Matt Green from outside the box goes high over the crossbar.25:44
Centre by Lindon Meikle, clearance by David Artell. The referee gives a free kick against Louis Briscoe for handball. David Artell takes the free kick.25:22
Lee Stevenson sends in a cross, David Artell makes a clearance.21:31
Glen Little concedes a free kick for a foul on Louis Briscoe. Free kick crossed by Adam Murray.17:50
The ball is delivered by Johnny Hunt, clearance made by Luke Jones.16:05
Centre by Lee Beevers, David Artell manages to make a clearance.15:57
The ball is swung over by Louis Briscoe, clearance made by David Artell.15:30
Lindon Meikle takes a shot.13:52
Outswinging corner taken by Adam Murray from the right by-line, Luke Jones takes a shot. David Artell gets a block in.12:35
Adam Murray takes a shot. Save by Andy Coughlin.11:37
Andy Coughlin fouled by Matt Green, the ref awards a free kick. Indirect free kick taken by Andy Coughlin.8:33
The ball is crossed by Johnny Hunt, save by Alan Marriott.7:41
Johnny Hunt produces a cross, Adam Chapman makes a clearance.7:04
Lee Stevenson delivers the ball, save made by Andy Coughlin.6:54
Lindon Meikle produces a cross, clearance made by Declan Walker.5:59
Lee Stevenson takes a shot. Blocked by Leon Clowes.5:18
Free kick awarded for a foul by Johnny Hunt on Louis Briscoe. Direct free kick taken by Alan Marriott.4:28
Free kick awarded for a foul by Adam Chapman on Glen Little. Andy Coughlin takes the free kick.1:38
John Dempster takes a shot. Save by Andy Coughlin. Corner from the right by-line taken by Adam Murray, Luke Jones concedes a free kick for a foul on David Artell. Andy Coughlin restarts play with the free kick.0:00
The game gets underway.
Live data and text provided by our data suppliers