Manhattan, KS (Sports Network) - Brandon Weeden threw for 298 yards with a pair of touchdowns and Johnny Thomas sealed the game with an interception return for a score in the fourth quarter, as 20th-ranked Oklahoma State bounced back from its first loss with a 24-14 victory over Kansas State.

Weeden completed 22-of-39 passes without an interception and Kendall Hunter contributed 143 rushing yards for the Cowboys (7-1, 3-1 Big 12), who suffered their first loss last Saturday at home against Nebraska.

Oklahoma State racked up 511 total yards, including 213 on the ground, while the Cowboy defense held Kansas State to just 289 total yards. The Cowboys played without leading receiver Justin Blackmon, who was suspended one game after reportedly being arrested on a drunk driving charge earlier this week.

"This is a good win for our football team," Oklahoma State head coach Mike Gundy said. "I am very proud of the way we competed. We had a number of players get banged up during the game and had some young players step up and play well in their spot. It was a real nice effort from our defense to force the turnover margin in our favor. We were effective with our special teams and our coverage on punts was very good."

Daniel Thomas ran for 101 yards and a touchdown on 29 carries for the Wildcats (5-3, 2-3), who have lost two straight and three of their last four. Carson Coffman threw for 170 yards with a pair of fourth-quarter interceptions and Thomas also threw a pick in the final period.

With the game tied at 7-7, Kansas State took the second-half kickoff and drove 60 yards to the Oklahoma State seven. The Wildcats stalled there and Josh Cherry missed a 24-yard field goal try.

Oklahoma State countered with an 80-yard scoring march. Weeden moved the chains with an 11-yard pass to Josh Cooper on 3rd-and-8, and the two hooked up again a few plays later for a 16-yard touchdown to cap the 11-play drive. The Cowboys got the ball back after a punt and added a 34-yard field goal from Dan Bailey to make it 17-7 with 1:30 left in the third quarter.

Kansas State followed with a drive into Oklahoma State territory, but Coffman was picked off by Markelle Martin at the 15-yard line in the first minute of the fourth quarter. The Wildcats quickly went back on offense after a punt and again marched across midfield, but Thomas was intercepted by Andrew McGee at the Cowboys 24-yard line.

The Cowboys again punted it away, but this time pinned the Wildcats at their own one-yard line. Coffman, though, was picked off by Johnny Thomas at the 26 and the junior safety wove his way to the end zone to increase the Oklahoma State lead to 24-7 with just over seven minutes remaining.

Coffman then guided the Wildcats 64 yards and Daniel Thomas finished off the 10-play series with a one-yard TD run to make it a 10-point game with 4:17 to play.

Kansas State then appeared to recover the ensuing onside kick, but an offside penalty negated the play and Oklahoma State recovered the next kick before running off nearly three minutes. The Wildcats got the ball once more with 1:36 remaining, but quickly turned it over on downs.

"I feel like we had a lot of opportunities on offense to win the game," said a disconsolate Coffman. "Most of all, I feel like I let the team down. I did not play very well today. I gave up two interceptions and seven points. The defense played great today. They gave up 17 points to one of the best offenses in the nation, but I just did not get it done."

After a trade of punts to start the game, Cooper fumbled after a reception and Tysyn Hartman recovered for the Wildcats at the Kansas State 38. The K-State offense went backward from there, though, and punted it away. The Cowboys followed with a drive to the Kansas State 28, but turned it over on downs.

The punting contest continued into the second quarter when Hunter committed OSU's second turnover of the game with a fumble at the K-State 38. This time, the Wildcats took advantage and drove 62 yards in 10 plays for a touchdown. William Powell finished the series with an eight-yard scoring run with 6:41 left in the half.

Oklahoma State, which entered the contest ranked third nationally in total offense, faced the prospect of heading to the break down seven, but finally got on track in the final two minutes. A 40-yard pass from Weeden to Isaiah Anderson gave the Cowboys a first down at the K-State 16 and Weeden found Michael Harrison with a 15-yard scoring pass just 56 seconds before the intermission to tie it.