Second-placed York rounded off their regular season campaign with victory at Eastleigh.
The game was effectively over after 20 minutes as Ollie Pearce steered home his 31st league goal of the season from Lewis Richardson's right-wing cross on 16 minutes before Cam John added a quickfire second when he took the ball around Joe McDonnell in the Eastleigh goal and slotted home.
The win extended York's unbeaten run to eight matches as they now prepare for a home play-off semi-final in their bid to join Barnet in the EFL.
The result left Eastleigh in 13th place in the final standings.
Report supplied by PA Media.