Oklahoma State's football team twice had a 10-point lead in the second half, but couldn't hold on, as Baylor rallied to beat the Cowboys 35-31 at McLane Stadium in Waco, Texas on Saturday.
Baylor scored two touchdowns in the final six minutes to win it, including the game-winning touchdown pass with just seven seconds left.
Penalties and giving up big plays at crucial times spelled the Cowboys' doom in a heart-breaking fourth straight loss for OSU in Waco.
Baylor got the ball first and marched inside the OSU 10-yard line, then on 3rd and goal, Jalan McClendon was intercepted by Rodarius Williams in the back of the end zone for a touchback.
Oklahoma State took over at their own 20-yard line and went 80 yards in 11 plays, with Taylor Cornelius keeping on a quarterback draw for a 6-yard touchdown to give the Cowboys a 7-0 lead with 7:47 to play in the first quarter.
Baylor once again drove deep into OSU territory, but Connor Martin missed a 26-yard field goal wide right and it stayed 7-0.
Early in the second quarter, the Cowboys had a field goal attempt of 47 yards into the wind, and Matt Ammendola missed wide left to keep it 7-0 with 10:47 to play in the first half.
Baylor took over and went 69 yards in 6 plays, helped out by two penalties on A.J. Green, one for unsportsmanlike conduct, the other for a facemask.
McClendon passed to Jalen Hurd for a gain of 27 on the play with the facemask.
That set up a one-yard quarterback sneak from McClendon to tie the game at 7 with 8:17 to play in the second quarter.
OSU responded with a 19-yard field goal by Ammendola to take a 10-7 lead with 4:42 to play in the first half.
After stopping the Cowboys , Baylor forced OSU to punt, and Christian Morgan blocked Zach Sinor's punt, with Trestan Ebner picking up the bouncing ball and returning it 7 yards for a touchdown to give Baylor their first lead, 14-10 with 2:24 to play in the first half.
The Cowboys got into field goal range, but into a stiff wind, Ammendola missed a 45-yard field goal wide left with 27 seconds left in the first half.
OSU got the ball to start the second half and punted after three downs.
Baylor then got into field goal range, but going against the wind from 38 yards, the Bears decided to fake the field goal, and the holder Drew Galitz threw incomplete in the end zone.
Oklahoma State then marched to the go-ahead score, with Cornelius throwing a screen pass to Tylan Wallace for a 6-yard touchdown to put OSU on top 17-14 with 4:44 to play in the third quarter.
The Cowboys stopped Baylor and then after a 22-yard punt by the Bears, OSU had a short field to extend the lead.
OSU converted a 4th and 5 on the Baylor 33 as Wallace threw back to Cornelius for a gain of 24 yards.
That set up an 8-yard touchdown pass from Cornelius to Wallace to give the Cowboys a 24-14 lead with 25 seconds left in the third quarter.
Cornelius was 23 for 40 passing for 264 yards and the touchdown.
Wallace had 7 catches for 89 yards.
Just when OSU got their first double digit lead, they couldn't hold it, as Baylor's John Lovett broke a 75-yard touchdown run on the first play of the ensuing possession and it was 24-21 Cowboys with 12 seconds left in the third quarter.
OSU methodically moved the ball to answer the touchdown, going 79 yards in 15 plays, with Justice Hill scoring from 2 yards out to make it 31-21 Cowboys with 8:55 to play.
Hill finished with 119 yards on 18 carries.
Baylor answered with an 8-play, 86-yard drive, with Charlie Brewer passing to Jalen Hurd, who spun out of two attempted tackles down the right sideline for a 36-yard touchdown to cut the OSU lead to 31-28 with 5:43 to play.
The Cowboys had a chance to run out the clock, but on 4th and 2 from the Baylor 36-yard line, Cornelius was sacked by Chris Miller, giving Baylor the ball at their own 45.
Baylor quickly got into field goal range, then after a pass interference penalty on Malcom Rodriguez, the ball was moved to the OSU 8-yard line.
Two plays later, Brewer passed to Denzel Mims for a 6-yard touchdown with just seven seconds left to take the lead 35-31.
OSU outgained Baylor in total yards, 500-402, but the Cowboys had 12 penalties for 133 yards.
OSU has lost four in a row to Baylor in Waco, with their last win coming in 2009.
The Cowboys fall to 5-4 on the season, 2-4 in Big 12 play.
Next up for OSU is Bedlam at Oklahoma next Saturday.