If Stanford draws with the Golden Bears and the Huskies lose the following night in Corvallis, the Cardinal and UW would be co-champions of the Pac-12 and tiebreakers would be used only to determine the conference's automatic bid to the NCAA Tournament.

Stanford (13-1-3, 6-1-2) has 20 points, one behind the Huskies (14-3, 7-2), with a match remaining for both. If the Cardinal beats Cal (7-6-3, 3-4-2) in its regular-season finale at home on Thursday night and Washington draws or loses at Oregon State (8-5-2, 5-2-2) on Friday, Stanford would be crowned Pac-12 champions.

It appeared as if Bouda's rocket in the direction of the far post was going in, but freshman Gabe Segal got his head on it to make absolutely sure there was no chance of it going wide. It was Segal's team-leading sixth goal of the season and Bouda's fifth assist.

With under four minutes remaining in the first half, Stanford's Ousseni Bouda flew along the left side and used his speed to get past Kasey French at the edge of the box. French raced to catch up when Bouda stopped and turned on a dime to create some space at the corner of the penalty area.

The Cardinal moved to 31-16-10 all-time against ranked opponents under Jeremy Gunn with the win, including 24-4-6 in its last 34, and is 7-1-3 in its last 11 against top-10 teams. Stanford is 3-1-1 against the nation's No. 1 team since Gunn arrived in 2012, all of them on the road.

The Cardinal had a couple of fortunate breaks as well. Just after intermission, Imanol Rosales had a free kick from just outside the box hit the crossbar and in the 63rd minute, another Washington free kick found the head of Townsend at the far post, but somehow his header across the goal had such spin that it hit just in front of the line and kicked back out instead of trickling across for the equalizer.

In the 27th minute, Thomas came off his line to intercept a left-footed cross from Lucas Meek that was destined for the head of a Husky in the box. Six minutes later, Jaret Townsend had the ball with his back to goal and Thomas smothered it before the UW midfielder had an opportunity to turn and shoot.

Goalkeeper Andrew Thomas made some big plays to secure his eighth solo shutout of the season and lower his goals against average to 0.60. As a team, Stanford's effort was its 11th clean sheet of the year and the Cardinal is now allowing a mere 0.56 goals per game.

Magic moment brightens Stanford's soccer title hopes