MANHATTAN, Kan. -- Kansas State's Ell Roberson threw for three touchdowns and ran for two more scores as the Wildcats broke a three-game losing streak with a 49-20 win over Colorado on Saturday.

Roberson, who set school career records for touchdowns and total offense, threw two second-half TD passes to James Terry as the Wildcats pulled away from a 15-13 halftime lead for their first Big 12 victory.

Rashad Washington blocked two punts for Kansas State (5-3, 1-2). The Wildcats scored on both blocks, on a first-quarter safety and on Joe Lawson's recovery in the end zone for a TD in the third quarter.

Colorado, the defending Big 12 champion, dropped to 3-4 and 1-2 with its first loss to Kansas State since 2000.

Roberson's 2-yard touchdown run in the first quarter for a 9-7 lead was the 32nd rushing score of his career, a record for both TD runs and total touchdowns. He added a 1-yard touchdown sneak with 38 seconds left in the game.

Roberson's 40-yard touchdown pass to Davin Dennis with 40 seconds left in the first half broke Lynn Dickey's record of 5,779 total yards. That record had stood since Dickey's senior season ended in 1970.

Colorado's Jeremy Bloom returned the ensuing kickoff 88 yards for a TD that cut Kansas State's lead to 15-13, but the Wildcats scored on the first two possessions of the second half -- theirs and Colorado's.

Roberson, who finished 20-for-28 for 242 yards, threw a 10-yard inside screen pass to Terry for a 22-13 lead. Four plays later, Washington's block and Lawson's recovery made it 29-13.

Terry's 8-yard TD catch, on the third play of the fourth quarter put the Wildcats up 35-13, and Darren Sproles made it 42-13 with an 18-yard run midway through the fourth.

Sproles ran for 90 yards on 14 carries, leaving him 17 yards short of the school career rushing record.

Joel Klatt, who threw for 419 yards in Colorado's 50-47 overtime win over Kansas last week, was 29-for-45 for 290 yards against the Wildcats. His 34-yard touchdown pass to D.J. Hackett with just under 6 minutes left cut Kansas State's lead to 42-20.

Bloom's kickoff-return TD was the first given up by the Wildcats since 1990, when Nebraska's Tyrone Hughes ran one back 99 yards. It was also one of the few bright spots on special teams for the Buffaloes.

After Daniel Jolly's 6-yard run put the Buffaloes up 7-0 on the game's first drive, Washington blocked John Torp's punt on Colorado's next possession. Three Kansas State players failed to gain possession of the ball in the end zone before it rolled out for a safety.

Colorado's Mason Crosby missed field goal attempts of 53 and 47 yards -- although both had plenty of distance -- and Klatt's two-point passing attempt fell incomplete after Bloom's touchdown.