MANHATTAN, Kan. — Avery Johnson threw two touchdown passes and ran for a score, Chris Tennant kicked a 51-yard go-ahead field goal with 1:42 to go and No. 16 Kansas State stopped Kansas on fourth down to preserve a 29-27 victory Saturday night.

D.J. Giddens added 102 yards rushing for the Wildcats (7-1, 4-1 Big 12), who kept alive their chances of playing for a conference title and in the College Football Playoff by beating their biggest rival for the 16th consecutive time.

"You know, we missed opportunities. I think they missed opportunities. It was a game of who could make another play," said Kansas State coach Chris Klieman, who dealt with some dizziness during the game that sent him to the locker room at one point.

"I was proud at the end that offense, defense and special teams came through." Kansas (2-6, 1-4) had a chance to answer Tennant's field goal in the final minute. But after a quick first down, Jalon Daniels bookended a short completion with a couple of incomplete passes.

Then, on fourth down, he was flushed from the pocket and tracked down near the Jayhawks' sideline, giving Kansas State the ball back with an opportunity to run out the clock. Daniels finished with 209 yards passing while accounting for two TDs and two turnovers. Devin Neal ran for 66 yards and a score, leaving him a mere six yards away from breaking June Henley's career rushing record at Kansas.

"This one stings as much as any of them," said Jayhawks coach Lance Leipold, whose team must now wi.