Gary Mihoces

USA TODAY Sports

ST. LOUIS — With one Kansas freshman sensation again out with injury and another having a very off day, No. 10-seeded Stanford beat the No. 2 Jayhawks 60-57 on Sunday to advance to the Sweet 16 for the first time since 2008.

Kansas was making its nation-leading 25th consecutive appearance in the NCAA tournament. Stanford made the field for the first time since 2008.

But it is Stanford of the Pac-12 (23-12) that will advance. Next up for the 10th-seeded Cardinal in the South Region will be 11th-seeded Dayton University, coming off upset wins against No. 6 Ohio State and No. 3 Syracuse.

Joel Embiid, 7-foot freshman center for Kansas, missed his sixth consecutive game with a stress fracture in his lower back. He again watched from the bench in a warm-up suit.

Forward Andrew Wiggins, a 6-8 freshman, came in averaging 17.4 points a game. Like Embiid, he's in the discussion as one of the top picks in the 2014 NBA draft. But he finished the game with just four points and four turnovers.

"They're long. We don't go against very many teams that are bigger than us," Kansas Coach Bill Self said. "So they bothered (Wiggins) with length, and I think that he had an off game. Give them credit for that, but certainly he put himself in position to make some plays and didn't make them.''

Self was asked what advice he would give Wiggins going forward.

"Unfortunately, I expect to be here, but I don't know if he'll be with me," said Self, hinting at the expected one-and-done jump to the NBA. "Everything is a learning experience for young kids, and this isn't the worst thing that's going to happen to him in his life. If it is, he's had a charmed life. … But the kid's had a remarkable season. ... I'm sad for him that it wasn't our day or his day today."

Stanford coach Johnny Dawkins credited 6-7 forward Josh Huestis for his defense on Wiggins.

"He did a great job depending. Then we had help of course," Dawkins said. "He's a guy you are not going to guard with one player."

With one second left in the first half, freshman guard Conner Frankamp of Kansas hit a three-pointer that gave the Jawhawks a 24-22 halftime lead. That was the first lead of the game for Kansas. Wiggins was limited to two points in the first half. He also had three turnovers and a foul.

Kansas forward Tarik Black opened the second half with a dunk.

But led by Randle, Stanford went on a 10-3 run to take a 40-33 lead with 10:40 left.

Kansas (25-10) tied it 49-49 with 5:11 left on a dunk by Perry Ellis.

In the final half-minute, Stanford led 59-54. But Frankamp hit a pair of three-pointers in a span of under 10 seconds to pull Kansas within 59-57 with 14.9 second left. But Stanford hung on for the win with the help of a freethrow by Anthony Brown.

Stanford had the height to match up with Kansas up front, but one question going into the game was whether the Cardinal had the physicality. They met the challenge.

Forward Dwight Powell led Stanford with 15 points. Randle had 15. For Kansas, Tarik Black has 18 points but fouled out.

"To beat a team like this, a storied program with great coaching, great players, always feels amazing," Powell said. "And we're happy to keep playing."

Randle was aware that during a news conference on Saturday Wiggins and Wayne Selden Jr. had not gotten the scouting report yet and apparently didn't know who Randle was.

"I definitely saw that video," Randle said. "I definitely took it as a challenge. So did my teammates. It wasn't just a stab at me. It was a stab at our team. And we took it as a challenge. And it was a little bit of extra motivation for today's game."