LAWRENCE, Kansas (Ticker) -- Keith Langford made just 33 percent of his shots, but he made the biggest one when it counted most.
Langford hit the game-tying 3-pointer with 28 seconds left in regulation and 20th-ranked Kansas went on to edge Iowa State in overtime, 90-89, in a Big 12 Conference matchup.
The Jayhawks (17-6, 9-3 Big 12) squandered a 17-point lead and needed a jumper by Langford from the top of the key to tie the game at 72-72.
"I knew I had to knock that one down," said Langford, who had 17 points on 6-of-18 shooting. "We still had to do it in overtime and we made enough big plays to get it done."
Aaron Miles connected on a 3-pointer 26 seconds into overtime to give Kansas the lead for good. A dunk by Langford off a pass from Miles and a pair of free throws by Jeff Graves with 2:16 left in overtime increased the advantage to 81-75.
After Iowa State (14-9, 5-7) pulled within 89-86, freshman J.R. Giddens hit the second of two free throws with three seconds left to increase the lead to four. That turned out to be pivotal when freshman Will Blalock connected on a 3-pointer at the buzzer.
"When I stepped up the line, I told everyone I was going to knock both of them down," Giddens said. "My first one looked right on, but it rimmed in and out. I made the second one and then they knocked down the three. If I hadn't had made that second free throw, Coach might have put his foot pretty far up you know where."
Giddens led Kansas with 24 points, hitting 7-of-12 from 3-point range. Wayne Simien collected 20 points and 14 rebounds.
It was the 25th consecutive conference home win for Kansas, which appeared to be coasting with a 61-49 lead with 9:44 remaining after a basket by freshman David Padgett.
But Iowa State went on an 18-1 run as freshman Curtis Stinson and Jared Homan each scored six points. Stinson's layup capped the spurt, giving the Cyclones a 67-62 lead with 2:55 left.
"We're proud of ourselves because we were down by a lot, but still fought back," said Stinson, who led Iowa State with 26 points. "We felt like we were in control, but they have a lot of guys who have been there before and made big plays."
Giddens hasn't been there before, but made the 3-pointer that pulled Kansas within 67-65 and a pair of free throws by Simien with 1:22 left tied the game at 69-69.
A tip-in by Homan with 54 seconds remaining and a free throw by Stinson with 39 seconds left gave Iowa State a 72-69 lead before Langford connected for Kansas.
"We got better in the second half and we understand how to play in hostile environments," Iowa State coach Wayne Morgan said. "We understand how important each offensive and defensive possession really is."
No matter how close it came, it was Iowa State's 23rd straight conference road loss.