SEATTLE -- Keith Price's 35-yard touchdown pass to Kasen Williams with less than five minutes to play capped a comeback by Washington, lifting the Huskies to a 17-13 upset of No. 8 Stanford on Thursday.
Stanford held a 10-point lead before Washington's Bishop Sankey ran for a 61-yard touchdown on the final play of the third quarter.
Sankey wound up gaining 144 yards on 20 carries. Price completed 19 of 37 passes for 177 yards with the one touchdown and one interception.
Zach Ertz led Stanford with 106 yards on six receptions. Cardinal quarterback Josh Nunes went 17-for-36 for 152 yards and one interception.
The Cardinal led 6-3 at the end of a lackluster first half in which it had just four first downs.
Stanford had owned Washington the last three years, outscoring the Huskies 140-35 in games in which it had rushed for 1,045 yards. That included a 65-21 Stanford win last year in Palo Alto in which the Cardinal rushed for 446 yards.
And the Cardinal were installed as seven-point favorites coming off a 21-14 win over USC on Sept. 15 that indicated there was indeed life after Andrew Luck.
However, Washington showed a much-improved defense early on, keeping the game to a 3-3 tie after the first quarter.
Stanford got on the board first following a nine-play, 49-yard drive, but it was forced to settle for a 31-yard field goal by Jordan Williamson.
Washington, which operated largely out of a no-huddle offense early on, used a 35-yard pass from Price to Williams to move into position for a 43-yard field goal by Travis Coons late in the first quarter.
The Cardinal then scored the only points of the second quarter on a 28-yard field goal by Williamson that capped a 72-yard drive that featured a 35-yard pass from Nunes to tight end Ertz.
Otherwise, though, it was a tough half for Ertz, making his first road start. He completed just seven of 18 passes in the first half for 105 yards, at one point throwing the ball into the ground three feet in front of a wide-open receiver.
More surprising was the inability of Stanford's running game in the first half to get much going against Washington's defense. Stepfan Taylor, who had rushed for 153 yards in the win over USC, had just 46 on 11 carries in the first half, and Stanford was held to 47 rushing yards overall.
Washington's offense, though, didn't fare much better. Price was just 8-for-18 for 76 yards and was constantly under pressure against a veteran Stanford front seven.
Taylor finished with 75 yards on 21 carries.
NOTES: The game was billed by Washington as the "Blackout of the Century" with the Huskies wearing all-black uniforms that they have unveiled once or twice a year since 2010. ... Due to injuries, Washington started its fourth different offensive line in four games. This one featured true freshman Shane Brostek starting at one guard spot. He is the son of former Huskies star Bern Brostek, who also played eight years in the NFL. ... Stanford came into the game not having lost in September since 2008. ... The Washington-Stanford series dates to 1893, and Stanford is considered the first major college opponent the Huskies ever played.