"Overall, with the team play building up to it, it was just a matter of time," Stanford coach Paul Ratcliffe said. "It was coming."

In the 10 minutes leading up to the goal, Stanford had three corner kicks and five shots, including a screamer by Lo'eau LaBonta that smacked hard off the post just moments before Ubogagu's winner.

Ubogagu scored only 38 seconds after re-entering the match. The Cardinal dominated possession throughout the match, but had just started bombarding the Cougar goal when Ubogagu came in for Mariah Lee, whose play helped put Washington State on its heels.

Stanford (10-0-2 overall, 2-0-1 Pac-12) earned its 10th shutout of the season while beating one of the nation's three other unbeaten teams. Washington State (7-1-2, 2-1-0) entered the match tied with the Cardinal for first in the nation in fewest goals allowed, with two apiece.

Chioma Ubogagu scored in the 84th minute to give No. 3 Stanford a 0 victory over Washington State on Sunday in a matchup of the top two defenses in collegiate women's soccer.

The victory shrinks the number of undefeated teams left in the country to Stanford, UCLA, and DePaul. Stanford and No. 1 UCLA (10-0-2, 2-0-1) play Thursday in Westwood in a matchup of Pac-12 co-leaders.

Haley Rosen slid a pass to Ubogagu just to the right of the box. Ubogagu cut inside and fired a left-footed shot from 22 yards that slid inside the right post. It was Ubogagu's third winner in 1-0 victories this season, following an overtime effort at No. 4 North Carolina and a first-half goal against No. 14 Portland.

"You just feel it," Ubogagu said. "Paul uses the analogy, 'They're on the cliff, you just have to push them over.' That's where they were in those final minutes."

Whether he subbed in Ubogagu or not, "We were going to score one way or the other," he said.

Stanford and UCLA have combined to win at least a share of the past 13 Pac-10/Pac-12 titles and 19 of 20 since the conference first sponsored women's soccer.

Now, the Cardinal can turn toward UCLA, a team Stanford has faced in four of the past five NCAA tournaments.

"Their center-backs did a really good job of staying tight on our forwards and stepping into the ball," said Ubogagu, who now has four goals. "At halftime, Paul said we needed one more pass. That would break them apart and create a really solid chance on frame. That's exactly what happened. Once we found that pass and made them run even more, they were getting fatigued. It just opened up more chances."

Though Stanford had 80-90 percent of the possession, the Cardinal lacked strong scoring opportunities for much of the match, though the Cardinal would outshoot Washington State, 20-3.

Stanford is 12-1 overall, its best start since winning 19 of its first 20 games in the 2009 season.

Eight Cardinal players scored, led by Bret Bonanni's season-high five goals, Drew Holland made eight saves and No. 2 Stanford won its sixth straight, beating host UC Davis, 17-5, in a nonconference game Sunday.

In main draw singles play, Davidson was eliminated in the first round after emerging from qualifying while Zhao reached the quarterfinals.

The sophomore duo was bidding to become Stanford's first doubles champion at the event since 2011, when Mallory Burdette and Nicole Gibbs defeated Florida's Allie Will and Sofie Oyen 6-2, 7-6 (2).

Taylor Davidson and Carol Zhao fell one step short of their first doubles title, dropping a hard-fought three-set decision in Sunday's championship match of the Riviera ITA All-American Championships in Pacific Palisades.

Tew scored the only goal of the second half in the 45th minute when she jumped on a rebound and knocked it into the right corner of the cage. She's scored a goal in each of the past two games and recorded a point in four of the past five contests.

After the Aggies tied the score, Stanford responded with its national team connection. Canadian national team member Maddie Secco shot a pass to Harbin, a member of the U.S. national team, who fired a hard shot to the lower right corner of the goal.

Chisholm gave Stanford the early lead when she converted a penalty corner in the 10th minute, assisted by Hannah Thiemann and Kasey Quon, the younger sister of former Stanford All-American soccer star Rachel Quon.

McCawley recorded her third multi-goal game of the season and scored at least one point for the ninth time in 13 games. Jessica Chisholm, Kelsey Harbin and Fran Tew also scored for the Cardinal.

Stanford (2-0 NorPac, 12-1 overall) remains on the road, with a trip to Ann Arbor, Mich., next weekend for games against Northwestern and Michigan.

Alex McCawley scored twice and three other Cardinal players also scored as Stanford won its sixth straight, beating host UC Davis, 5-1, in a Pac-12 Conference contest Sunday.

The result drops Stanford's record to 7-2-0 overall and 1-1-0 in Pac-12 play. It also snapped the Cardinal's national-best seven-game win streak and was the first time the team had allowed three goals since last Oct. 12 at San Diego State.

Junior defender Brandon Vincent took over the team lead in goals with his fourth of the season, but after cutting a two-score deficit in half, the No. 18 Stanford men's soccer team was unable to complete the comeback at No. 5 Washington on Sunday, falling to the Huskies 3-1.

Follow Palo Alto Online and the Palo Alto Weekly on Twitter @paloaltoweekly , Facebook and on Instagram @paloaltoonline for breaking news, local events, photos, videos and more.

Stanford women win defensive Pac-12 soccer match over Cougars