Match ends, Wrexham 5, Kings Lynn Town 3.
Wrexham's play-off hopes received a timely boost with victory over lowly Kings Lynn in their final home game of the regular season.
Luke Young put Wrexham ahead with a penalty Sonny Carey equalised with a free-kick.
Jordan Davies' free-kick and Gold Omotayo put Wrexham in control at the break.
Simeon Jackson scored twice for The Linnets in between a Jordan Ponticelli header before Omotayo sealed the win.
Wrexham remain sixth, with their play-off destiny in their own hands ahead of their final game at Dagenham & Redbridge next Saturday.
Having suffered a setback to their play-off hopes in the midweek defeat by Notts County, The Dragons made a determined start.
Theo Richardson made a double save to deny Davies and Ponticelli in quick succession.
The visitors, having been spared relegation, had early chances of their own with Michael Gash heading over from a corner and Michael Gyasi forcing Rob Lainton to palm the ball away following a good run.
Wrexham were awarded a penalty after a handball offence in the area and although Richardson got a hand to Young's effort he could not keep out the powerful shot.
Within three minutes King's Lynn were level through Carey's curling free-kick from the edge of the area
But Wrexham responded with a fine free-kick of their own and Davies' eighth goal of the season restored their advantage.
Dean Keates' side went further ahead three minutes before the break when Omotayo ran onto a through ball and coolly slotted past Richardson.
Substitute Jackson had already gone close for King's Lynn early in the second half before he pulled a goal back after Gash's effort had been parried by Lainton.
Ponticelli's header restored Wrexham's two goal advantage although it last for all of five minutes as Jackson scored his second and King's Lynn third.
A goalmouth scramble led to Ponticelli netting again but the goal was not allowed to stand before Omotayo's second of the game sealed a vital win.
- 29DaviesBooked at 90mins
- 2Hall-JohnsonSubstituted forFrenchat 69'minutes
- 6HarrisSubstituted forJarvisat 69'minutes
- 9PonticelliSubstituted forAngusat 79'minutes
- 22BarrowsBooked at 41mins
- 15FlemingBooked at 66mins
- 4Callan-McFaddenSubstituted forJacksonat 27'minutes
- 29BabosSubstituted forPayneat 90+2'minutes
- 12GyasiSubstituted forKiwomyaat 59'minutes
- 9GashBooked at 74mins
- Daniel Middleton
Second Half ends, Wrexham 5, Kings Lynn Town 3.
Substitution, Kings Lynn Town. Alfie Payne replaces Alex Babos.
Jordan Davies (Wrexham) is shown the yellow card.
Goal! Wrexham 5, Kings Lynn Town 3. Gold Omotayo (Wrexham).
Substitution, Wrexham. Dior Angus replaces Jordan Ponticelli.
Michael Gash (Kings Lynn Town) is shown the yellow card.
Substitution, Wrexham. Tyler French replaces Reece Hall-Johnson.
Substitution, Wrexham. Daniel Jarvis replaces Jay Harris.
Goal! Wrexham 4, Kings Lynn Town 3. Simeon Jackson (Kings Lynn Town).
Tai Fleming (Kings Lynn Town) is shown the yellow card.
Goal! Wrexham 4, Kings Lynn Town 2. Jordan Ponticelli (Wrexham).
Substitution, Kings Lynn Town. Alex Kiwomya replaces Michael Gyasi.
Goal! Wrexham 3, Kings Lynn Town 2. Simeon Jackson (Kings Lynn Town).
Second Half begins Wrexham 3, Kings Lynn Town 1.
First Half ends, Wrexham 3, Kings Lynn Town 1.
Goal! Wrexham 3, Kings Lynn Town 1. Gold Omotayo (Wrexham).
Ross Barrows (Kings Lynn Town) is shown the yellow card.
Goal! Wrexham 2, Kings Lynn Town 1. Jordan Davies (Wrexham).
Substitution, Kings Lynn Town. Simeon Jackson replaces Kyle Callan-McFadden.
- Why do we love wrestling?: Mark Andrews talks to some of the biggest names in the sport about what it means to them
- Five healthy habits to start today: Dr Alex's top tips to making long-term meaningful change