BOULDER, Colorado (Ticker) -- It took all 40 minutes, but Colorado ended more than a decade worth of frustration against Kansas.
Stephane Pelle nailed the go-ahead jumper with 25 seconds left and the Buffaloes survived a wild finish to end their 27-game losing streak against the sixth-ranked Jayhawks with a 60-59 Big 12 Conference victory.
Colorado (12-5, 2-2 Big 12) posted its first win over Kansas since a 79-71 triumph on February 20, 1991. The Buffaloes also ended an 11-game home skid in the series.
"I'm just really excited for the kids," Colorado coach Ricardo Patton said. "They have worked really hard for this. I'm also really excited for our fans. It has certainly been a long time.
"I'm just excited for everybody who is excited. It has been so long that when I get a chance to catch my breath, it'll soak in."
After Pelle pulled up and drained his jumper, Kansas (13-4, 3-1) had a chance to set up for a final shot. Kirk Hinrich drove and found Michael Lee, who missed a jumper with three seconds left. The rebound eventually came to Hinrich, who had a shot blocked as time expired.
Kansas coach Roy Williams vehemently argued for a foul.
"First off, the officials didn't lose the game for us," Williams said. "I thought Kirk was fouled on the last play, but that is just me.
"We got off to a slow start, then played well. But if you just talk about those two things, then you are not giving Colorado their credit. We needed one stop and we couldn't get one stop. I told Ricardo that I am as ticked off as I am happy for him."
Pelle scored a career-high 27 points for Colorado, which gave Patton his first victory over Kansas in 17 tries.
"This was my last (home) game against Kansas," Pelle said. "I wanted to step up. There was so much coming into this game. We haven't beaten Kansas in something like 11 years and 11 months. This win is for everyone here. To come in and beat them is huge."
Kansas also saw its Big 12-record 23-game regular-season winning streak come to an end. The Jayhawks' overall 10-game run also was halted as they suffered their first loss since an 84-78 setback to Oregon on December 7.
"They were into it emotionally and mentally," Williams said. "Colorado made the plays, not us. We took some bad shots and were very impatient. We didn't execute worth a darn."
With Pelle playing the best game of his career, there was little doubt where the ball would go on Colorado's last possession. Pelle was isolated and dribbled to his right before knocking down his jumper over Lee.
"I wanted to score," Pelle said. "I took the ball determined and ready to score. I drove and when I saw somebody come up, I pulled up. It felt so good."
Colorado was poised for the upset after freshman Chris Copeland's 3-pointer gave the Buffaloes their largest lead at 50-44 with 9:17 remaining. Keith Langford drilled a 3-pointer for Kansas, which held Colorado without a basket over the next 5 1/2 minutes.
Nick Collison had a pair of baskets to give the Jayhawks the lead and Langford dunked off an alley-oop pass for a 55-51 advantage with 4:42 to go. The Buffaloes missed five shots, had three turnovers and managed only a free throw by Michel Morandais in their drought.
But Morandais had a pair of jumpers in a 7-2 spurt as Colorado rallied. Copeland's free throw provided a 58-57 lead with just under 90 seconds remaining.
Morandais missed a jumper with 44 seconds left, but Pelle was whistled for going over Lee's back. Lee drained his free throws to give Kansas its final lead.
Colorado won despite an uneven performance by 7-footer David Harrison, who managed only four points but ripped down 11 rebounds, his sixth effort this season of more than 10 boards. Morandais helped pick up the slack with 17 points on 7-of-12 shooting.
"This feels great, I just can't describe it," Harrison said. "Walking around on campus today, I saw people wearing Kansas shirts. I just wanted to prove people wrong tonight - to prove people wrong and to surpass what people believe."
Collison led Kansas with a quiet 16 points and Langford made just 6-of-19 attempts for 14 points. Hinrich also was off target, connecting on 3-of-13 shots for 10 points as the Jayhawks shot a season-low 33 percent (22-of-67).
"We lost," Langford said. "Congratulations to Colorado. We can't let this make or break our season. We have bigger games to play and have to look past this."
Point guard Aaron Miles missed all seven of his shots for Kansas, which misfired on 11-of-15 3-point attempts and finished with its lowest point total of the season.