STANFORD -- Joshua Karty kicked five field goals, lifting Stanford to a come-from-behind, 15-14 win over Arizona State on a Homecoming Saturday afternoon at Stanford Stadium.
Karty's five field goals tied the all-time single-game record for the Cardinal (3-4, 1-4 Pac-12), who snapped a 10-game conference losing streak.
The decisive field goal came with 6:28 remaining in the fourth quarter. Karty converted from 47 yards, matching his second-longest attempt of the season. Named the Pac-12 Special Teams Player of the Week twice in the last three games, Karty has not missed a kick this season, making all 12 of his field goal attempts.
The Sun Devils (2-5, 1-3) have not won at Stanford Stadium since 2007, dropping four straight on the road to the Cardinal in that span.
Arizona State's Emory Jones was 15 of 25 passing but Stanford's pass defense, which entered Saturday ranked second in the conference surrendering 212.3 yards per game, held Arizona State to 227 receiving yards.
The Sun Devils led 14-6 after Elijhah Badger caught a 39-yard touchdown pass a minute into the second quarter. Badger made six catches for a career-best 118 yards.
Stanford had not allowed its opponent to score in the first quarter in its last two games against Oregon State and Notre Dame. But the Sun Devils ended the streak when Xazavian Valladay running for a 15-yard touchdown.
Stanford quarterback Tanner McKee, who completed 33 of his 57 attempted passes for 320 yards, has been held without a touchdown in back-to-back games after recording multiple in each of Stanford's first five games.
Stanford visits UCLA on Saturday.