Perry Ellis had 26 points, Wayne Selden Jr. added 19 and No. 3 Kansas countered its sluggish start with a torrid finish to beat streaking Texas 76-67 on Saturday.
Devonte Graham finished with 14 points and Frank Mason III had 13 for the Jayhawks (16-3, 4-3 Big 12), who had played dismally during a two-week stretch since their victory over No. 1 Oklahoma.
Along with losses to West Virginia and Oklahoma State, the Jayhawks struggled to beat TCU.
The Longhorns (12-7, 4-3) looked as if they would keep that malaise going when they built an early lead. But they were unable to get any stops in the second half, when Kansas used a 24-6 run covering more than 9 minutes to seize control in front of another raucous crowd at Allen Fieldhouse.
Connor Lammert had a career-high 15 points before fouling out for Texas. Isaiah Taylor and Eric Davis Jr. scored 13 apiece, and Javan Felix finished with 12.
(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)