ELON, N.C. -- Elon put together 24 runs on 21 hits in a 24-12 slugfest victory against 12th-ranked NC State on Tuesday.

The Wolfpack entered the game having allowed 26 runs in 11 games and riding a 10-game win streak.

The 24 runs scored by Elon (6-5) were the most ever scored against a Wolfpack team and it was the first time the Phoenix scored 20 or more in a game since May 9, 2009 in a 27-6 win against Western Carolina.

"I didn't see this coming," head coach Mike Kennedy said. "We talked to our guys at length after Furman on Sunday. They got a taste of losing against Furman, and that didn't feel good and they did something about it. This is a huge win for the program. We hadn't had one of those [wins versus a top-25 opponent] in a few years."

Elon had three players drive in at least five runs -- Antonio Alvarez with five, Alex Swim with five and Sebastian Gomez with a career-high six RBIs.

NC State (10-2) grabbed an early 1-0 lead in the first inning before Elon answered with three runs in the bottom half. Ryan Kinsella tied the game with an RBI single before an error let the second run score. The final run came in on a Gomez single. 

After the Wolfpack tied the game with two unearned runs in the second, the Phoenix scored 15 unanswered runs and led 18-3 after four innings. The Maroon and Gold plated five runs in the second with RBIs from Alvarez, Swim, Kinsella and Gomez. 

In the third, Elon sent 15 men to the plate and scored nine runs. Gomez delivered three runs in the inning with a bases-loaded triple to right-center and Swim drove in two with a single through the right side.

NC State followed with four runs of its own in the fifth to make it 18-7, including two on a Trea Turner homer.

After Elon got two back in the bottom half of the fifth, the Wolfpack pushed across five in the sixth -- including a three-run homer from Turner.

The Phoenix added its 21st run in the sixth to lead 21-12 before scoring three in the eighth for the final margin. In that three-run eighth, Alvarez delivered a two-run homer to right-center, his second of the season.

Alvarez, who began his career in Raleigh with the Wolfpack, finished the day 4-for-4 with five runs scored and five RBIs to raise his average to .455. Gomez, Kinsella and Quinn Bower all had three-hit nights for Elon. Bower also scored five times.

Picking up the win for Elon was John Antonelli (1-0). Antonelli allowed one hit and struck out one in his lone inning of relief work. Starter Spencer Medick lasted 4.2 innings and gave up seven runs (one earned) on seven hits.

Anthony Tzamtizis (0-1) took the loss and was charged with seven runs (six earned) on four hits in an inning-plus.