Sam Werner emphatically scored his first career goal, but host Washington held the Cardinal in check the rest of the way, rallying to beat No. 4 Stanford, 2-1, in a Pac-12 Conference match Monday night.
The defeat snapped Stanford's 15-match unbeaten streak, the second-longest run in program history. The Cardinal hadn't lost since a season-opening setback at UC Santa Barbara on August 28, a span of 66 days.
It also kept alive Washington's hopes to share the Pac-12 title with Stanford, which clinched at least a co-championship on Friday.
The Huskies must win their final three matches at San Diego State, UCLA and Oregon State and hope for a Cardinal loss to California in its season finale.
Stanford is off for 10 days until it celebrates Senior Day and hosts the Golden Bears on Thursday, Nov. 12 at 6 p.m. in a game televised on the Pac-12 Networks.
With Stanford dominating play and possession for the majority of the first half and holding a 1-0 lead, Husky Beau Blanchard made a run and went down in the box.
The Cardinal was whistled for a foul and the Huskies' Steven Wright beat Andrew Epstein to the left to level things heading into the break.
"We were absolutely magnificent in the first half, passed and moved the ball so well and were very much bossing the game," Stanford coach Jeremy Gunn said. "Obviously one play changes things completely and it gave UW a little bit more belief."
A quick re-start following a Cardinal foul just across the midline freed up Kyle Coffee in the 64th minute. The redshirt freshman dribbled centrally and slid his attempt through to the back of the net to put Stanford in a hole.
"The second half was wonderfully poised for both teams, but they scored a goal and we lost our way for a few minutes," Gunn said. "We were disappointed with how that was given up. It was a very good performance and we're happy with how we played, but disappointed with how the contest was decided."
Werner, starting for the second consecutive match in place of an injured Ty Thompson, sent a rocket into goal for his first career strike.
A Corey Baird free kick from the near side was headed out to the waiting boot of Stanford's redshirt freshman, who used his right foot to fire a missile from the top of the box. Herman didn't even have a chance to move.
Stanford put five shots on frame and had a number just miss the target. Its best chance to equalize came in the 83rd minute when Jordan Morris worked himself free and scooted ahead of his defender. The junior's far-post shot from his left foot was out of the reach of Herman and inches wide of the post.
The loss not only ended Stanford's 15-match unbeaten streak in 2015, but also snapped the program's 16-match unbeaten streak in conference play dating to last season, a run which is tied for 17th in NCAA history.
The Cardinal's last league loss also came at UW on Oct. 5, 2014. Since then, Stanford had gone 11-0-5.