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.
Syracuse Orange offensive coordinator Sterlin Gilbert out after 2 years
Syracuse coach Dino Babers began revamping his staff Sunday, announcing that offensive coordinator Sterlin Gilbert is out after just two years on the job. Tight ends coach Reno Ferri and defensive line coach Vinson Reynolds also will not be retained.
Heupel credits UT defense for getting big stops
Tennessee's Josh Heupel says his defense did a great job getting Vandy off the field and giving his offense great field position in a 45-21 win.
Knox praises Florida seniors for playing hard
Interim coach Greg Knox says he was "at peace" before the Gators' 24-21 win over rival Florida State, knowing the team's leaders were prepared.
Kirby says 'starting fast' was important in UGA win
Kirby Smart praises the No. 1 Georgia offense for getting points on the board early in the 45-0 win against Georgia Tech, but says it still has areas to improve.
Lincoln Riley to USC: What it means for the Trojans and the Pac-12
Lincoln Riley is reportedly on the way from Oklahoma to USC. It's a near-unprecedented move that will shake up the entire sport. Here's what it means.
Oklahoma's next football coach: Top candidates to replace Lincoln Riley
Lincoln Riley leaves behind big shoes to fill at Oklahoma, especially with the Sooners' move to the SEC. Who could take over in Norman?