The York College baseball team earned an impressive, and much-needed, victory on Thursday in its bid to capture an at-large berth in the NCAA Division III Tournament.

The Spartans traveled to Glassboro, N.J., and came home with an 8-4 victory over the Profs.

York improved to 27-13, while Rowan fell to 32-9.

The Profs recently won the New Jersey Athletic Conference championship and came into the game ranked No. 6 in NCAA Division III.

Dan Gurganus got the win for York and improved to 7-1 on the season. He pitched 7 1/3 innings and allowed just two earned runs. Zach Philippi and Tyler Alexander combined for 1 2/3 innings of scoreless relief.

York trailed 3-0 before erupting for five runs in the eighth inning, keyed by Brad Wenzel's three-run homer.

After Rowan narrowed York's lead to 5-4 with a run in the bottom of the eighth, the Spartans put the game away with a three-run top of the ninth, sparked by Scott Steffy's two-run single and Andrew Hershey's RBI groundout.

York scored its eight runs on just four hits. The Spartans were helped by six walks and two Rowan errors that led to three unearned runs.

The win helped York snap out of a recent slide that included losses in five of its last six games.

The Spartans conclude their regular season at 2 p.m. Saturday, when it takes on Stevenson (14-25) at Jacquet Field.