1 of 6
Mark J. Terrill, Associated Press
Washington State quarterback Luke Falk, right, passes under pressure from UCLA defensive lineman Matt Dickerson during the first half of an NCAA college football game, Saturday, Nov. 14, 2015, in Pasadena, Calif.

PASADENA, Calif. — Gabe Marks made a diving 21-yard touchdown reception with 3 seconds to play, sending Washington State to a jaw-dropping 31-27 victory over No. 18 UCLA on Saturday night.

Josh Rosen scrambled 37 yards and dived for the go-ahead touchdown with 1:09 to play for the Bruins (7-3, 4-3 Pac-12), capping a desperate 80-yard drive.

Luke Falk answered for Washington State (7-3, 5-2) with his own spectacular 75-yard drive ending with a remarkable, physical catch by Marks, who became the Cougars' career receptions leader earlier in the game with his 196th catch.

Falk returned from a mid-game injury after passing a concussion protocol to throw for 331 yards. He threw two TD passes to Marks, and the Cougars punctuated their resurgent season with their first win over a ranked team in 10 tries since 2013.

AP college football website: www.collegefootball.ap.org