Updated

Kevin Hogan threw for 155 yards and a touchdown and ran for 47 yards and another score to help eighth-ranked Stanford beat No. 17 UCLA 27-24 in the Pac-12 championship game Friday night.

As a defender barreled into him, Hogan hurled a 26-yard tying touchdown to Drew Terrell on third-and-15 early in the fourth quarter. Jordan Williamson kicked his second field goal from 36 yards with 6:49 remaining for the go-ahead score to seal Stanford's first conference title since the 1999 season.

UCLA quarterback Brent Hundley almost brought the Bruins (9-4) back, but Ka'imi Fairbairn missed a 52-yard field goal wide left in closing moments for a disappointing loss.

The Cardinal (11-2) will play the winner of the Big Ten title game between Nebraska and Wisconsin in the Rose Bowl on Jan. 1.