Wrexham are on the verge of winning the league after Yeovil were demoted.
After a hard-fought victory that sees Yeovil Town relegated, Wrexham are one win away from clinching the National League title and a return to the EFL.
The Dragons will be promoted if they beat Boreham Wood on Saturday, thanks to goals from Anthony Forde, James Jones, and Paul Mullin in the second half.
Wrexham’s 107 points set a new single-season National League and professional English points record.
The Glovers’ defeat drops them to the National League South.
For the first time since 1997, the Glovers will play in English football’s seventh tier next season.
Wrexham, on the other hand, are on the verge of returning to the Football League for the first time in 15 years after winning their 33rd league game of the season.
With two games remaining, the Welsh team has moved four points clear of second-placed Notts County.
Wrexham and Yeovil both needed maximum points for very different reasons. A win for Wrexham would move them closer to the title and automatic promotion, while a win for Yeovil would put them in with a chance of escaping the drop.
Both teams started well, with Miguel Freckleton heading Charlie Cooper’s corner wide for Yeovil and Andy Cannon firing a long-range effort wide of the post for Wrexham.
Elliot Lee’s quick thinking at a free kick on the halfway line produced an opening for Mullin, but his effort lacked the power to worry Glovers keeper Will Buse.
Yeovil looked dangerous on the break, but Ben Foster saved Matt Worthington’s shot and a Reo Griffiths cross, while Mullin’s attempted curling effort sailed high and wide at the other end.
Mullin’s effort summed up Wrexham’s frustrations in an equal first half, and Phil Parkinson’s side came out firing after the break.
Buse easily collected Forde’s long-range drive, but the former Wolves, Rotherham United, and Oxford United winger would not have to wait long to break the deadlock and calm any fears in the capacity crowd.
The Irishman found himself in space on the outskirts of the area, and his shot took a deflection to beat Buse, putting an end to Yeovil’s struggle.
Buse then made a good save on Lee, but Jones was on hand to put the ball away in the bottom corner to increase the home team’s lead.
And Mullin’s looping header from Ryan Barnett’s cross put the striker on 45 goals for the season as Wrexham added a third late on.