DAVIS, Calif. (AP) -- Brandon Rice caught an 18-yard touchdown pass from Matt Engle with 9 seconds remaining to cap a wild final minute as UC Davis beat San Diego 49-46 on Saturday.
The four-play, 63-yard game winning drive came just after the Toreros had surged ahead when Wes Doyle caught a 12-yard pass from Josh Johnson with 36 seconds remaining. San Diego (9-2) had scored a pair of touchdowns in the final six minutes to rally from a 42-31 deficit.
It was a wild game in which the teams combined for 1,062 yards. Engle passed for 409 yards and three touchdowns in his final college game.
UC Davis receiver Bakari Grant caught nine passes for 180 yards and a scoring pass. His final reception was a 26-yarder to start the final drive. Engle then hit Rice for 18 yards with 16 seconds left. After a spike to stop the clock, Engle hit Rice again on a post pattern over the middle.
San Diego's Johnson passed for 267 yards with five touchdown passes. He also ran for 61 yards.
UC Davis (5-6) finished its first losing season since 1969 with two straight victories. San Diego has lost three games over the past two seasons, and two of those have come against Davis.