By LUKE MEREDITH
AP Sports Writer
AMES, Iowa (AP) - Mason Rudolph threw for 376 yards and three touchdowns - including two in the final 5:55 - and 12th-ranked Oklahoma State rallied to beat No. 24 Iowa State 49-42 on Saturday and keep its Big 12 title game hopes alive.
Justice Hill had 134 yards and three TD runs for the Cowboys (8-2, 5-2 Big 12, No. 15 CFP), who remain in a tie for second place in the league with two games to go.
The top two finishers in the Big 12 will meet in the championship game in Arlington, Texas, on Dec. 2.
But even if neither the Cyclones nor Cowboys make it to Jerry World, they still gave the Big 12 a game few in the league will ever forget.
Rudolph found Marcell Ateman for a 30-yard TD pass, and Hill's two-point conversion run tied the game at 42 with 5:55 left. The Cowboys jumped ahead 49-42 just two minutes later as Rudolph found Dillon Stoner for a 19-yard touchdown reception.
The Cyclones got inside Oklahoma State's 3-yard line with 32 seconds left, but Zeb Noland threw an interception to A.J. Green to end the game.
Quarterback-linebacker Joel Lanning had a rushing and passing TD for Iowa State (6-4, 4-3). He connected with Allen Lazard on a 22-yard TD strike with 14:13 left - a pass Lazard caught with one hand while falling down.
David Montgomery made it 42-34 on a subsequent 4-yard run, but Iowa State's highly-rated defense faltered down the stretch.
Montgomery had 105 yards and three TDs for the Cyclones.
Oklahoma State: Give the Cowboys credit. They took it to one of the nation's best defenses on the road and made the plays that needed to be made in a game that went bonkers from the opening kick. Oklahoma State became the first Big 12 opponent to score more than their weekly average against the Cyclones. With two home games left against Kansas State and Kansas, Oklahoma State is still very much alive in the league title race.
Iowa State: The TD pass from Lanning to Lazard came in their final home game and was a fitting end to their brilliant careers. Lanning and Lazard both passed on offers from more prestigious programs to play for the hometown Cyclones - and if second-year coach Matt Campbell can get Iowa State in a position to compete for Big 12 titles on an annual basis, their contributions won't be forgotten. Sadly, losing a heartbreaker like this one is also fitting for a team with too many agonizing defeats in recent memory to count.
Oklahoma State hosts Kansas State on Nov. 18.
Iowa State plays at Baylor next Saturday.
More college football: http://collegefootball.ap.org and https://twitter.com/AP_Top25