MANHATTAN, Kansas (Ticker) -- This is hardly how Texas envisioned heading into the postseason.
Tim Ellis scored eight of his 13 points in the final two minutes as Kansas State stunned the 10th-ranked Longhorns, 58-48, in the regular-season finale for both teams.
Texas already had clinched the No. 2 seed in the Big 12 Conference tournament but has dropped two straight for the first time this season. The Longhorns (21-6, 12-4 Big 12) were coming off a 76-67 defeat at Oklahoma State that ended their hopes of the Big 12 regular-season title.
"It was just everything," Texas guard Royal Ivey said. "We couldn't hit shots. We missed some tough shots and we took some tough shots, and they just killed us on the boards."
Texas could not overcome a scoring drought of nearly 5 1/2 minutes in the second half as the Wildcats (14-13, 6-10) posted arguably their biggest win during coach Jim Wooldridge's four-year tenure and kept alive their NIT hopes.
"We've had a group of students that have followed us and supported us and cheered us and believed in us," Wooldridge said. "They've been waiting this season for opportunities to celebrate and today was the day."
Jeremiah Massey, who led Kansas State with 14 points and also grabbed 10 rebounds, sank a free throw to snap a 45-45 tie with 3:12 left. Ellis hit a runner and six straight free throws to give the Wildcats a 56-48 lead with 14 seconds left.
"I think we were due for one," Ellis said. "We knew we were going to have to scrap. We thought they were going to come in wanting to make a statement. We stuck in there and hung together."
Kenny Taylor scored 11 points and Sydmill Harris added 10 for the Longhorns, who had trouble throughout attacking Kansas State's 2-3 zone. They were held 14 points below their previous low output of the season.
"We haven't played against a zone in a while," Texas center Jason Klotz said. "I don't know if guys weren't ready for it. We've been used to playing man-to-man and it caught us off guard."
Kansas State struggled through a miserable first half, scoring just 17 points. The Wildcats' starters were a combined 1-for-19 in the opening half. But Texas allowed Kansas State to stay in the game, holding just a five-point lead at the intermission.
"We need our whole team to play," Texas coach Rick Barnes said. "Tonight, we had about three or four guys that didn't do their jobs. Our post guys weren't as aggressive as they needed to be."
Harris' 3-pointer gave the Longhorns' a 31-26 lead with 13:50 remaining. Texas did not score again until James Thomas' follow shot cut the deficit to 34-33 with 8:25 remaining.
The Longhorns tied the game for the final time, 45-45, on Taylor's 3-pointer with 3:37 to go.
After shooting 19 percent in the first half, Kansas State heated up to 58 percent in the second half and finished at 34 percent (17-of-50).
Texas was even worse, shooting just 30 percent (15-of-50). Rather than trying to get the ball inside, the Longhorns were content to shoot from the perimeter, attempting 32 3-pointers and making nine.