Stanford took the early lead late in the first half as Amir Bashti scored his first goal of the season in the 44th minute, getting an assist from Drew Skundrich, who worked free on the right side and centered the ball for Bashti.

"It was a great performance," Stanford coach Jeremy Gunn said. "Oregon State is a very, very good team and has been having incredible success and yet today we were so dominant. I was more pleased about the performance than the result. I thought it was absolutely rock solid defensively and exciting attacking-wise."

Stanford moved to 6-0-1 and is 15-1-5 in its last 21 matches at Cagan Stadium. In 2015, the Cardinal has allowed just one goal on The Farm and has a goals against average of 0.14 at home.

The Cardinal (9-1-1, 2-0-1 Pac-12) handed the Beavers their first conference setback and become the lone Pac-12 team without a loss heading into Friday night's 8 p.m. game at UCLA.

The Cardinal controlled the game, outshooting Oregon State, 20-6, with an 11-3 advantage on goal. The Beavers were limited to one shot on goal through the first 86 minutes of play.

Foster Langsdorf added a goal less than five minutes later. Eric Verso crossed the ball to the back post and Sam Werner touched it to Langsdorf.

The Cardinal added two quick goals early in the second half to break the game open. Brandon Vincent converted a penalty kick at 52:12 following the first of three yellow cards issued to the Beavers.

It was the sixth time Stanford broke the 20- shot mark and ninth time it held its opponent to five or fewer shots. Stanford has not allowed its opponent a corner kick in 7-of-13 games this season.

Tegan McGrady initiated the lone goal of the game, carrying the ball down the left sideline before whipping in a left-footed cross to Sullivan who was making a run in from the back post. Sullivan out-jumped her defender and placed her header perfectly in the left side netting of the goal.

The Cardinal (11-2, 5-0 Pac-12) dominated the run of play, holding advantages over the Ducks (4-9, 1-4 Pac-12) in shots (22-3) and corner kicks (6-0) but needed just over 74 minutes to find the back of the net.

Andi Sullivan headed in her team-leading fifth goal of the season to lift No. 6 Stanford to a 1-0 victory against Oregon on Sunday evening.

"Credit to Oregon," said Ratcliffe. "They were a resilient team and were well-organized and well-coached, and made it difficult for us to break through."

Stanford needed to play through the final whistle for the win, as Oregon earned a free kick in Stanford's half with 10 seconds remaining and sent a dangerous ball into the box. The Ducks put a head on the ball but hit it without much pace and it rolled wide of the net as the clock hit 90:00.

The Cardinal continued to pressure the remainder of the half but could not find the final touch needed to extend its lead.

The Cardinal registered another near miss in the 70th minute when Sullivan battled through a pair of defenders and fed Walker-Hartshorn who hit the outside of the side netting.

Ryan Walker-Hartshorn had two scoring opportunities in less than a minute in the 34th but her first shot went over the top-left corner and her second was saved by Hinriksdottir.

"They were well-organized in the back and kept possession of the ball well," said Stanford head coach Paul Ratcliffe. "Any breakthroughs the opponent had, Maddie and Alana did a good job of closing down, and so did Laura, Tegan and Steph. Overall, I was pleased with the back-four. Jane did a nice job too as a leader back there."

Oregon increased its offensive pressure 25 minutes into the game with a high press on the Stanford defense. However, the Cardinal backline did well to maintain possession and limit Oregon opportunities near the goal.

Carusa had a second opportunity less than 12 minutes later when she got in behind the defense and hit a hard right-footed shot from eight yards out that Oregon's goalkeeper Halla Hinriksdottir was able to stop with an outstretched foot.

Stanford set the tone early and nearly got on the board in the ninth minute when Sullivan weaved through four defenders inside the 18-yard box and slipped a pass to Kyra Carusa who fired just over the crossbar.

"It's something that would've frustrated us at the beginning of the season," said Sullivan. "We've turned it into fuel for the fire. Just being patient and always keeping a positive mindset, saying 'the next one, the next one's in.' We just have to keep it positive and then it's going to go in. As long as we're creating the chances, everyone is pretty positive."

Despite the dominating effort, there were tense moments throughout the game as the Cardinal had trouble finding the back of the net to pull away from the Ducks.

Stanford men take Pac-12 lead; Cardinal women top Oregon