PULLMAN, Wash. -- Coach Chip Kelly says he never lost faith in his UCLA team, even as it lost its first three games.
Kelly said the Bruins played hard all 12 quarters of those losses, and that paid dividends when they fell behind at No. 19 Washington State on Saturday.
"I always thought we were a good football team," Kelly said. "if we could be consistent."
He added, "When you are battle-tested like our guys are, I think that showed up today."
The Bruins overcame a record nine TD passes by Washington State's Anthony Gordon.
After Felton's TD, Gordon was sacked and fumbled -- the team's sixth turnover of the game -- on the next possession with about a minute remaining, and UCLA recovered and ran out the clock.
Thompson-Robinson threw for 507 yards and five touchdowns for UCLA (1-3, 1-0 Pac-12).
Gordon threw for 570 yards and broke the school record with nine TD passes for Washington State (3-1, 0-1). Jacksonville Jaguars starting QB Gardner Minshew II, a sixth-round draft pick who was on the WSU sideline for Saturday's game, held theschool record of seven TD passes in a game, set in November 2018 against Arizona.
Easop Winston Jr. was Gordon's favorite target. He caught four touchdown passes for Washington State.
Washington State jumped to a 35-17 lead at halftime and pushed that to 49-17 early in the third quarter.
But UCLA, which failed to score more than 14 points in each of its three losses, stormed back, erupting for three touchdowns in the final four minutes of the third. That was part of a run of seven touchdowns in eight possessions, many fueled by WSU turnovers.
Thompson-Robinson ran for one touchdown and threw scoring passes to Chase Cota and Felton to bring the Bruins within 49-38.
In the fourth, Thompson-Robinson hit Devin Asiasi with a 7-yard touchdown pass and then found Cota for a two-point conversion pass to bring UCLA within 49-46 with 14:28 left in the game.
Gordon broke the WSU touchdown record with his eighth, a 33-yarder to Winston, for a 56-46 lead with 10:08 left.
Thompson-Robinson ran over from the 3 to cut WSU's lead to 56-53 with 8:10 left.
Washington State was forced to punt, and Kyle Philips returned it 69 yards for a touchdown, putting the Bruins ahead 60-56 with 7:31 left.
But Max Borghi caught a short pass from Gordon and ran 65 yards for a touchdown and a 63-60 lead with 6:11 left. That set the stage for the winning touchdown.
"The football is a really odd-shaped ball, and it bounces different ways sometimes," Kelly said. "Fortunately for us, it bounced our way tonight. That's great, but that doesn't mean we kick up our feet and stop working."
Washington State pointed to its six turnovers.
"We kept shooting ourselves in the foot," Gordon said. "It's hard to win any sort of football game when you turn the ball over six times."
"I thought they did a good job of attacking the ball," Washington State coach Mike Leach said of UCLA. "I thought we had lousy ball security."
Leach said his team lost its edge in the second half.
"Our guys got frantic and panicked," Leach said. "We collapsed in every phase of the game."
Gordon replied by finding Winston with a 4-yard touchdown pass.
The Bruins replied with a 31-yard field goal by JJ Molson for a 10-7 lead.
Washington State scored four touchdowns in the second quarter, beginning with Gordon's 28-yard pass to Winston, to take control.
Gordon found Travell Harris for a 10-yard touchdown pass and a 21-10 lead.
Felton returned the ensuing kickoff 100 yards for a touchdown as the Bruins pulled within 21-17.
Gordon replied with short touchdown passes to Winston and Tay Martin for a 35-17 lead that stood at halftime.
UCLA had 657 yards of total offense, compared to 720 yards for Washington State.
Washington State's Max Borghi rushed for 123 yards and caught two passes for 80 yards.
Felton caught seven passes for 150 yards and two touchdowns for UCLA.
"Demetric Felton is a special player. He is continuing to grow," Kelly said.
UCLA: The Bruins came in as the only Pac-12 team averaging fewer than 300 yards of offense per game (263), but they finally put some points on the scoreboard.
Washington State: The Cougars could not stop the Bruins in the second half and were hurt with six turnovers that led to 29 points.
Washington State will likely drop in the poll.
UCLA plays at Arizona on Saturday.
Washington State has a showdown on Saturday at No. 10 Utah.
ACC announces football championship game set for Dec. 19
The ACC has officially settled on Dec. 19 as the date for its conference championship game, the conference announced Thursday.
MAC football teams must play at least 3 games to be eligible for conference title
Mid-American Conference football teams must play at least three of the six games on their conference-only schedule to be eligible for the league title. Play begins Nov. 4.
Big Ten nixes Nebraska Cornhuskers replacement game vs. Chattanooga Mocs
The Big Ten has nixed a proposed deal that would have allowed Nebraska to replace its canceled game Saturday against Wisconsin with a game against FCS foe Chattanooga.
Top college football recruit Quinn Ewers decommits from Texas: Where he could land and what's next for Longhorns
Everyone wants QB Quinn Ewers, the nation's top recruit in the 2022 class. But who is in the lead now? Is it Ohio State? What about Alabama or Clemson? And what happens next for Texas?
Seven of the most haunted venues in sports
From the Hockey Hall of Fame to Camp Randall Stadium and the infamous Pfister and Skirvin hotels, we've uncovered the legends behind the spookiest venues in the sports world.
Week 9 college football best bets: Penn State keeps Ohio State close
Our college football experts offer their picks on some of the biggest games this weekend, including Ohio State's prime time game at Penn State.