LOS ANGELES -- Southern California trailed by 13 points in the second half, and the smallish Coliseum crowd grumbled at the prospect of an already shaky season slipping away entirely from this powerhouse program.
Right before the Trojans really got in trouble, they started making big plays. And when Jay Tufele slipped into the perfect spot and got his big arm up to block a field goal, USC's season was back on track.
J.T. Daniels passed for 241 yards and three touchdowns, and Tufele blocked Washington State's attempt at a tying field goal with 1:41 to play in USC's 18th consecutive home victory, 39-36 Friday night.
After back-to-back road losses to Stanford and Texas put the Trojans in dire September straits, the Trojans (2-2, 1-1 Pac-12) fell behind the Cougars early, but made a series of big stops and slick adjustments down the stretch to remain unbeaten at the Coliseum under coach Clay Helton.
None was bigger than the special-teams call on the Cougars' last field goal attempt, allowing Tufele to get in an ideal position for the block.
"The kids knew exactly what to do," Helton said. "Our last team meeting, we showed it. We showed the gap that would be open. It was the absolute perfect call at the right time."
One year after the Trojans took their first loss of last season in a Friday night game in Pullman, USC showed resilience and fourth-quarter tenacity while avoiding a disastrous start to the season. Vavae Malepeai rushed for his second touchdown with 8:03 to play as USC rallied from two scores down in the second half and eventually held off the Cougars (3-1, 0-1).
"I've always thought that adversity kind of defines who you are," Helton said. "Being in that second half down two scores, a bunch of great kids defined who they are as men, and I can't tell you how proud I am of them."
Easop Winston caught his second TD pass from Minshew with 10:15 to go, but the Trojans responded with a 56-yard scoring drive. After Malepeai's go-ahead TD and Daniels' pinpoint 2-point conversion pass to Tyler Vaughns, Washington State drove into field goal range in the waning minutes.
That's where Tufele swatted down Blake Mazza's 38-yard attempt with relative ease.
"Looked like they got a pretty good push, and it looked like we struck it low," Washington State coach Mike Leach said. "I thought we played pretty good. We played pretty hard across the board. I think our effort is great. We've got to become a more consistent team."
The Trojans' special teams have made several significant mistakes this season, but the unit executed flawlessly at the biggest moment and then celebrated wildly.
"I knew that if we ran it right, it would work perfectly," USC linebacker Cameron Smith said. "It was one of those things we practice and plan, and it worked our way."
The Cougars led 24-17 at halftime, and they opened the second half with a 75-yard drive capped by Borghi's 13-yard TD run before the Trojans finally responded.
Pittman, whose exceptional catch shortly before halftime was ruled just out of bounds, took a 50-yard pass to the house. USC's defense stiffened and forced two punts before St. Brown's gorgeous TD catch and the extra point put the Trojans up 31-30.
"We left too many drives out there," said Minshew, who went 37 for 52 without an interception. "That was all on me."
But Winston immediately caught a 59-yard pass down the middle and followed it up with a 4-yard TD catch. Washington State's 2-point conversion attempt failed, and the Cougars didn't score again.
Vaughns and Michael Pittman caught early TD passes from Daniels before the precocious freshman found his high school teammate, Amon-Ra St. Brown, for a beautiful 30-yard TD pass with 14:31 to play. Daniels went 17 for 26 without an interception.
"Each game is more experience," Daniels said. "Personally, I'm pretty happy with this one. Things to learn from and things to celebrate."
The weekday attendance of 52,421 was USC's smallest for a home game since 2001, but was still bigger than many expected for the school's first Friday home game since 1999. Parking and tailgating around the Coliseum is severely limited while the 95-year-old stadium undergoes an extensive renovation.
Washington State: After opening the season with three victories over modest nonconference opposition, the Cougars responded fairly well to a big step up in competition. Late-game execution wasn't perfect, particularly on special teams, but this loss is no embarrassment for the Cougs or Minshew, who looked excellent again.
USC: The Trojans responded to a major gut check with a series of big second-half plays, particularly by a defense that looked hapless before the break. Although they still made far too many mistakes and committed too many penalties, they'll grow from this one -- and their freshman quarterback is getting better every week.
Washington State: Host Utah next Saturday, Sept. 29.
USC: At Arizona next Saturday, Sept. 29.
More AP college football: https://apnews.com/tag/Collegefootball and https://twitter.com/AP-Top25
Sources: Ex-Colorado coach Mike MacIntyre to be Ole Miss DC
Mike MacIntyre will join Matt Luke's staff at Ole Miss as the Rebels' new defensive coordinator, sources confirmed to ESPN's Chris Low. MacIntyre was fired as Colorado's head coach last month.
Gary Andersen returns for second stint as Utah State coach
Six years after leaving Utah State to lead Wisconsin, Gary Andersen will again be the Aggies' head coach.
UCLA promotes Justin Frye to offensive coordinator
UCLA has promoted Justin Frye to offensive coordinator for next season.
Iowa State gives Matt Campbell extension through 2024
Iowa State coach Matt Campbell has agreed to a contract extension with the Cyclones that runs through 2024, the school announced Sunday.
Schefter: Harbaugh staying at Michigan
Adam Schefter says Jim Harbaugh has confirmed that he will remain the head coach at Michigan.
Will Murray be drafted in the NFL?
Adam Schefter breaks down the possibility of Heisman winner Kyler Murray being drafted by an NFL team.