STANFORD, Calif. — Daejon Davis acted like it was no big deal. That's because he was unaware of what he had just achieved.

Davis hit a desperation 50-foot 3-pointer at the buzzer and Stanford shocked USC 77-76 on Sunday night.

"I knew we were down by two but I didn't realize we had won the game," Davis said. "To be honest I didn't know what was happening until I saw my teammates coming at me."



Jordan McLaughlin, who scored 16 points and recorded seven assists, had given the Trojans a 76-74 edge with 1.7 seconds left on an acrobatic shot under the basket. Davis took the inbound pass, dribbled twice and let it fly, hitting nothing but net as time expired.

"I saw the tough shot he made and all I was thinking was how much time we had," Davis said. "I saw 1.7 and realized I was on the left side, which is easier for me. I know my shot bends from that side and I knew it had a chance.

Davis also had six assists but five turnovers and said that was unacceptable. "I know the shot doesn't really make up for the turnovers," he said.

WATCH: LSU’s Tremont Waters buries deep 3 to down Texas A&M

That's when Reid Travis leaned over and patted him on the back. "He didn't have to do anything else and that shot made him the MVP of the game," Travis said.

Travis scored 18 of his career-high 29 points in the second half for the Cardinal, who were coming off a double-overtime victory over UCLA. Michael Humphrey added 15 points.

"We locked in on defense," Travis said. "They were getting their 3s and we wanted to take them away. They were also getting a lot of offensive rebounds on us."

Kezie Okpala, who finished with 11, tied the game at 72 with a jumper and Davis hit a driving jumper to put Stanford (8-8, 2-1 Pac-12) up 74-72 with 1:43 left to play.

Chimezie Metu, who scored 20 points, tied the game 20 seconds later with a short jumper at the basket.

Earlier, Metu got a dunk to open the second half and give the Trojans a 13-point edge. The Cardinal rallied to within 51-49 with 16:39 remaining to play.

MORE: Andy Katz's Power 36: Who's in the NCAA tournament?

USC (11-6, 2-2) rebuilt its advantage to 15 points six minutes later. The Cardinal weren't going anywhere though.

The Trojans took advantage of eight offensive rebounds and six turnovers for a 16-5 edge in second-chance points and a 13-2 advantage in points off turnovers during the first half. Stanford took a nine-point lead in the first five minutes but the Trojans quickly turned that around and opened a 47-36 halftime advantage.