Michael Gash's second-half winner fired Kidderminster Harriers back to the top of the Blue Square Bet Premier with victory at Wrexham.
Mansfield's earlier defeat at Braintree gave Steve Burr's men the chance to hit the top again and they took advantage.
James Vincent gave them a 19th-minute lead, a bobbling shot through a crowded area before Danny Wright replied with a spectacular 62nd-minute volley.
The final week equation . . .
- If Hereford beat Mansfield on Tuesday night then, if the Harriers win at home to Stockport next Saturday, they would be champions.
- If it is a draw at Edgar Street, Harriers and Mansfield would be level on points, and goal difference, going into next Saturday's final day. But Mansfield would go top, as they have scored more goals (89) than the Harriers (78).
- If Mansfield win, they would go two points clear on top again and would win the title if they win at home to Wrexham next Saturday.
But Gash then won it for the Harriers, lobbing stranded keeper Chris Maxwell.
Wrexham were only back on level terms for nine minutes before Harriers left-back Mickey Demetriou sent Gash racing clear to delicately convert his first goal in five games.
Gash had also been involved in the Harriers' first goal, his free-kick hitting the wall before dropping for Vincent, whose effort snuck through the mass of bodies and into the far corner - only his third goal of the campaign.
It was a first home defeat since November for Wrexham, who secured their play-off spot in midweek.
But, although second-placed Mansfield still have a game in hand - at Hereford United on Tuesday night - the Harriers have put themselves in a strong position to take advantage of any further Stags slip-ups.
Wrexham also play in midweek, at home to Braintree on Tuesday night, before having a further say in the title race when they go to Mansfield next Saturday,
VIEW FROM THE DRESSING ROOM
Wrexham player-manager Andy Morrell told BBC Radio Wales:
"Two mistakes on our part have given them two goals. I thought it was fairly equal but, in this league, when you make a mistake, you get punished for it.
"Of the starting XI ,we've had six come through our centre of excellence and had two more on the bench as well that got on.
"That's a great sign for the future. All of them equipped themselves really well.
"I'd still back us over two legs against anybody in the league. We'll give any team a game when we get our bodies back."
Kidderminster Harriers assistant manager Gary Whild told BBC Hereford & Worcester:
"Obviously Mansfield losing was a lift for us. But we just had to concentrate on what we had to do and to try and keep doing what we have for a long while now.
"It's a difficult place to come and they're a good side, but the way we handled the game from start to finish was superb and I thought we thoroughly deserved it.
"We picked ourselves up and came back after losing the lead to a strike that was out of this world.
"The character came to the fore again, as it has done all season and, to be fair, it was also a fantastic finish from Michael Gash."
- 24 Maxwell
- 03 Ashton Booked
- 18 Walker
- 20 Clowes
- 32 Artell
- 14 Clarke
- 16 Hunt (Colbeck - 76' )
- 28 Evans
- 09 Wright
- 19 Rushton (Reid - 11' Booked )
- 31 Adebola (Ormerod - 78' )
- 02 Wright
- 10 Ormerod
- 15 Ogleby
- 21 Colbeck
- 22 Reid
- 01 Lewis
- 02 L Vaughan
- 03 Demetriou
- 22 Dunkly
- 30 Gowling
- 04 Storer
- 08 Vincent
- 16 Jackman (Gittings - 75' Booked )
- 10 Malbon (Rowe - 80' )
- 11 Johnson (Devaney - 90' )
- 20 Gash
- 23 N Vaughan
- 18 Gittings
- 21 Briggs
- 26 Devaney
- 09 Rowe
Live Text Commentary
Full Time The final whistle is blown by the referee.90:00 +4:39
Joe Clarke fouled by Michael Gash, the ref awards a free kick. Neil Ashton restarts play with the free kick.90:00 +4:07
Short corner taken by Michael Gash from the right by-line.90:00 +3:27
Callum Gittings has an effort from just inside the box that misses to the left of the target.90:00 +2:18 Substitution
Substitution Martin Devaney on for Marvin Johnson.89:53
Lee Vaughan takes the direct free kick.89:53 Booking
Booking Neil Ashton goes into the book.89:36
Marvin Johnson fouled by Neil Ashton, the ref awards a free kick.81:03
Chris Maxwell takes the free kick.81:03 Booking
Booking The referee shows Callum Gittings a yellow card.80:49
Free kick awarded for an unfair challenge on David Artell by Callum Gittings.79:43 Substitution
Substitution Ryan Rowe comes on in place of Anthony Malbon.78:51
Unfair challenge on Josh Gowling by Danny Wright results in a free kick. Free kick taken by Daniel Lewis.77:44
Kyle Storer fouled by David Artell, the ref awards a free kick. Daniel Lewis takes the direct free kick.76:53
Free kick taken by Neil Ashton.76:53 Substitution
Substitution Dele Adebola goes off and Brett Ormerod comes on.76:53
Unfair challenge on Rob Evans by Cheyenne Dunkley results in a free kick.75:52
Free kick awarded for an unfair challenge on Anthony Malbon by David Artell. Free kick crossed right-footed by Kyle Storer.74:55 Substitution
Substitution Johnny Hunt leaves the field to be replaced by Jay Colbeck.74:55 Substitution
Substitution Danny Jackman goes off and Callum Gittings comes on.
Danny Wright takes a shot. Daniel Lewis makes a save.70:57
Mickey Demetriou provided the assist for the goal.70:57 Goal scored
Goal! - Michael Gash - Wrexham 1 - 2 K'minster Michael Gash fires in a goal from just inside the area to the bottom right corner of the goal. Wrexham 1-2 Kidderminster.69:52
The referee blows for offside against Michael Gash. Chris Maxwell takes the free kick.68:20
Corner taken left-footed by Johnny Hunt from the right by-line, Mickey Demetriou makes a clearance.61:41
Assist by Declan Walker.61:41 Goal scored
Goal! - Danny Wright - Wrexham 1 - 1 K'minster Danny Wright finds the net with a goal from just outside the box to the top right corner of the goal. Wrexham 1-1 Kidderminster.54:34
Michael Gash fouled by Joe Clarke, the ref awards a free kick. Danny Jackman restarts play with the free kick.53:21
Rob Evans takes a short corner.52:56
Danny Wright takes a shot. Daniel Lewis makes a save.51:09
Effort on goal by Mickey Demetriou from outside the box goes harmlessly over the bar.47:46
Johnny Hunt takes a shot from just outside the penalty area clears the crossbar.45:01
The second half kicks off.45:00 +2:14 Half time
Half Time The ref blows to signal half-time.45:00 +0:32
Michael Gash has an effort at goal from close range which goes wide left of the target.43:52
Long range effort from Rob Evans misses to the left of the goal.42:47
The assistant referee flags for offside against Bradley Reid. Free kick taken by Daniel Lewis.39:28
David Artell has a headed effort at goal from deep inside the area missing to the right of the goal.38:57
Kyle Storer is penalised for a handball. Direct free kick taken by Johnny Hunt.37:40
Inswinging corner taken right-footed by Rob Evans from the left by-line.36:28
Foul by Kyle Storer on Bradley Reid, free kick awarded. Shot on goal comes in from Declan Walker from the free kick, Cheyenne Dunkley gets a block in.32:11
Effort on goal by Rob Evans from just outside the penalty area goes harmlessly over the target.27:41
Bradley Reid is caught offside. Indirect free kick taken by Daniel Lewis.27:07
The referee gives a free kick against Michael Gash for handball. Chris Maxwell restarts play with the free kick.23:57
Outswinging corner taken by Kyle Storer.23:13
Joe Clarke gives away a free kick for an unfair challenge on Marvin Johnson. Direct free kick taken by Kyle Storer.19:48
Michael Gash challenges David Artell unfairly and gives away a free kick. Neil Ashton takes the free kick.18:18 Goal scored
Goal! - James Vincent - Wrexham 0 - 1 K'minster A goal is scored by James Vincent from outside the area to the bottom left corner of the goal. Wrexham 0-1 Kidderminster.17:13
Foul by David Artell on James Vincent, free kick awarded. Strike comes in from Michael Gash from the free kick.16:33
Direct free kick taken by Daniel Lewis.16:33 Booking
Booking The referee shows Bradley Reid a yellow card for unsporting behaviour.16:13
Unfair challenge on Josh Gowling by Bradley Reid results in a free kick.13:38
Unfair challenge on David Artell by Josh Gowling results in a free kick. Direct free kick taken by Chris Maxwell.13:07
Free kick awarded for a foul by Joe Clarke on James Vincent. Kyle Storer takes the direct free kick.10:07
Mickey Demetriou restarts play with the free kick.10:07 Substitution
Substitution Nick Rushton goes off and Bradley Reid comes on.10:07
Danny Jackman fouled by Dele Adebola, the ref awards a free kick.6:12
Foul by Neil Ashton on Michael Gash, free kick awarded. The free kick is delivered right-footed by Kyle Storer from right channel.1:51
Johnny Hunt decides to take the corner short.1:22
Corner taken left-footed by Johnny Hunt from the right by-line, clearance made by Mickey Demetriou.0:00
The game begins.
Live data and text provided by our data suppliers