Udoka Azubuike and No. 3 Kansas returned the favor in a Big 12 showdown that lived up to the hype.
The Jayhawks share the Big 12 lead again, and could return to the No. 1 spot in the AP poll, as well.
Azubuike had 23 points and a career-high 19 rebounds in a 64-61 win Saturday at Baylor, ending the Bears' 23-game winning streak and likely ending the Bears' five-week run as the nation's No. 1 team.
"You could just feel the buzz. It was an exciting time and a huge win," Jayhawks guard Devon Dotson said. "We're a solid team that can make a run in late, late March. ... We're going to enjoy this win, but build off it for sure."
Kansas (24-3, 13-1 Big 12) has won 12 in a row since its first-ever home loss to Baylor on Jan. 11. The Jayhawks had a 10-point lead with 6 1/2 minutes left in the rematch before holding off Baylor's late charge.
"I liked the first game against Kansas better than this one," Baylor coach Scott Drew said. "For us, the goal at the beginning of the year wasn't to sweep Kansas. The goal was to win a Big 12 championship. Their goal is to win a Big 12 championship."
Baylor (24-2, 13-1) has never won a Big 12 title. There are four games left in the regular season.
Connecting you to your favorite North Texas sports teams as well as sports news around the globe.
Isaiah Moss, who had 11 points, made two free throws for Kansas with 7.9 seconds left before a timeout. The Bears had one more shot, but Jared Butler's 3-pointer from beyond the top of the key ricocheted off the front of the iron as time expired.
Butler and MaCio Teague had hit consecutive 3-pointers in the final half-minute to get Baylor within 62-61.
Dotson added 13 points for the Jayhawks, who shot 51% (27 of 53) against a tenacious Baylor defense that held them to 55 points in a 12-point loss last month that ended their 28-game home winning streak.
"It meant a lot to our guys, a lot more than the league race," Kansas coach Bill Self said. "It meant a lot to us from they beat us the first time at home, and they controlled it. They controlled the game at home a lot more than we controlled the game here."
Butler had 19 points to lead the Bears, while Freddie Gillespie and Matthew Mayer each had 10.
The sellout crowd of 10,627 at the Ferrell Center, including 2011 Heisman Trophy winner Robert Griffin III along with Waco favorites Chip and Joanna Gaines, was already in a frenzy after ESPN's College GameDay broadcast on the court leading up to the late-morning tip.
Fans were roaring after Teague, who missed the previous two games with a wrist injury, returned to the lineup by swishing a 3-pointer on the game's first shot and Gillespie made it 5-0.
But Marcus Garrett then had seven points in a 14-2 spurt for Kansas, which never trailed again. Baylor hadn't been behind by more than two points in any of its previous 12 home games.
The Bears trailed 14-7 before Butler hit a 3-pointer and then had a long pass ahead to Mayer for a layup as the lanky, high-energy sophomore scored eight points in two minutes to tie the game before Kansas went ahead to stay with six points in a row.
That quick Jayhawks spurt included two baskets by Azubuike, who later in the half had back-to-back impressive dunks for nine-point leads.
Azubuike bowed back his shoulders and let out a shout after his powerful slam over the 6-foot-9 Gilliespie. The Jayhawks' next basket was also a powerful dunk by Azubuike that made it 32-23. He finished 11-of-13 shooting, with at least seven dunks and other inside shots.
"He was great. They did such a great job winning the first time because we had nothing from a scheme standpoint to help him, and today we we were able to fill the ball over the top quite a bit," Self said. "That's as about as well overall I've seen him play. He was terrific."
Six weeks earlier against Baylor, Azubuike had six points with 11 rebounds.
"The guy can play basketball. The dude can rebound, finishes at the rim, and he does it really well," Gillespie said. "I think our first game we did a better job as a team keeping him out of his rhythm. This game he was in sync."
Kansas: The Jayhawks, whose unprecedented run of 14 consecutive Big 12 titles ended last season, are 7-0 in conference road games, the same as Baylor.
Baylor: The Bears' 23-game winning streak set a Big 12 record, one more than Kansas in 1996-97, the league's inaugural season. Baylor, 6-1 against Top 25 teams this season, missed a chance to become only the second team in Self's 17 seasons to sweep a regular-season series against Kansas.
Baylor's five-week run as the No. 1 team is the longest in the poll since Kentucky in 2015. Kansas could return to the top spot for the second time this season. The Jayhawks were No. 1 for a week in December, before losing to Villanova.
Kansas is at home Monday night to play Oklahoma State, who the Jayhawks beat 65-50 on the road on Jan. 27
Baylor is home again Tuesday night to play Kansas State.