CORVALLIS — Jack Anderson walked on 3-2 with the bases loaded in the ninth inning Friday afternoon at Goss Stadium, sending the top-ranked Oregon State baseball team to a 4-3 comeback win over Washington State.

Anderson's walk was the second-in-a-row for the Beavers against Washington State closer Scotty Sunitsch, sending Oregon State to yet another walkoff this season. Steven Kwan also battled against the left-hander, walking on an inside pitch, also on 3-2. That walk tied the game against the Cougars, who held a 3-1 lead after a two-run sixth inning off starter Luke Heimlich.

The Beavers (43-4, 25-3 Pac-12) began their comeback in the eighth. Adley Rutschman hit a deep sac fly to center off Ryan Walker, pulling OSU to within one.

Then, in the ninth, Trevor Larnach singled to open the inning. Elliott Cary, pinch running for Larnach, moved to second on a sac bunt. Andy Atwood earned the first walk of the ninth, then Nick Madrigal, with two outs, walked to load the bases.

The 25th win in conference play pushed OSU to the most wins in league play since the 1999 unification, surpassing the team's 2014 record of 24-6. With another win, the Beavers can equal Arizona State's conference record of 26 league wins in 1981.

Heimlich earned the win after the ninth-inning rally, picking up his ninth of the year after holding WSU to eight hits and three runs, two earned, in a complete-game effort. He struck out eight.

Sunitsch took the loss, dropping to 2-4 on the year.

Larnach and Kwan each tallied two hits to pace the Beavers, while Madrigal walked three times.

OREGON 6, USC 2: At Los Angeles, former Medford Rogues player David Peterson gave Oregon another strong start in the win.

Peterson allowed two runs on just five hits in seven innings while striking out nine and walking just one. The Ducks' lefty moved his record to 11-3, just one win shy of the Oregon single-season record.

The Ducks improved to 27-22 overall, 10-15 in the Pac-12. USC is 19-30, 6-19 in conference.

Softball

OREGON 13, ILLINOIS-CHICAGO 0, 5 inn.: At Eugene, No. 3 Oregon used a nine-run fourth inning to win its opening game in the NCAA tournament.

The victory came by run-rule in five innings.

It is the Ducks' 11th straight win this year and 22nd straight in the regional round of the tournament. Oregon (48-6) next faces Wisconsin today at 2 p.m., after the Badgers beat Missouri earlier Friday.

Freshman Maggie Balint gave up two hits and a pair of walks in the win, her 20th this season, while striking out nine.

JAMES MADISON 3, OREGON STATE 2: At Waco, Texas, Oregon State jumped out to a 2-0 lead but could not hold on in the Beavers' 13th NCAA tournament appearance.

The Dukes came back to tie the game in the bottom of the sixth before hitting a walk-off single in the bottom of the seventh to defeat OSU.

The Dukes entered the Regional boasting the nation's highest batting average with a .357 mark and starting pitcher Megan Good held a 0.48 ERA, but that did not seem to faze the Beavers in the opening frame. Oregon State started the game with back-to-back singles by McKenna Arriola and Jessica Garcia before Natalie Hampton blasted a two-RBI double to left center to get OSU on the board.