STILLWATER, Okla. -- Oklahoma State won the decisive series finale against Texas Sunday at Allie P. Reynolds Stadium as the Cowboys knocked off the fourth-ranked Longhorns 10-3 to pick up their first series win against Texas in three years.

A seven-run seventh inning propelled the Cowboys to the win as they improved to 3-3 in Big 12 Conference play and 18-6 overall. In winning the final two games of the series, OSU notched its first series triumph against Texas since the Cowboys swept the Longhorns in Austin in 2008.

Mark Ginther was the offensive hero for the Cowboys as the junior third baseman was 3-for-5 with three RBIs, while Randy McCurry did not allow a run over the final 4.2 innings to earn the win in relief and improve to 2-0 on the season.

In the decisive seventh, the Cowboys sent 14 hitters to the plate and rallied for seven runs on six hits against five different Texas pitchers.

With the game tied 3-3, Zach Johnson got things started for OSU in the seventh with a four-pitch walk, and following a single by Jared Womack and a walk to Davis Duren, the Cowboys had the bases loaded with no outs.

Up next, it was McCurry helping his cause as he delivered an RBI single to give the Cowboys a lead that would continue to grow.

Womack scored on a wild pitch to make it 5-3, and Duren came home with OSU’s sixth run on a throwing error by UT catcher Jacob Felts on a failed pickoff attempt.

The Cowboys continued to pile up runs as a Hunter Bailey single pushed their lead to 7-3 before Gabe Weidenaar tripled into the right field corner to bring home two more runs.

OSU’s final run came when Womack drew a bases-loaded walk to give the home team a 10-3 advantage.

That was more than enough cushion for McCurry, who came on in relief of starter Andrew Heaney in the fifth and dominated the UT lineup as the sophomore right-hander allowed just two hits over the final 4.2 innings.

UT (17-7, 4-2) took a 3-0 lead into the bottom of the fifth inning behind the strong pitching of starter Cole Green, who struck out seven in his first four innings of work.

But in the fifth, Devin Shines led off with a single, and Ginther followed with his third home run of the season, a laser over the wall in left field that trimmed OSU’s deficit to 3-2. The Cowboys would tie the score in the next inning on Ginther’s third RBI of the game, which came on an opposite-field single.

OSU returns to action Tuesday when the Cowboys host Oklahoma Wesleyan before returning to Big 12 action Friday at Nebraska.