EAST LANSING, Mich. (AP) - Taylor Martinez lofted a pass up the right sideline toward Kenny Bell. Darqueze Dennard was back in coverage, the ball fell incomplete - and a flag was thrown for pass interference.
"The only thing I can tell you is he was holding my left arm down," Bell said. "Was I expecting a flag? No, just because we don't get too many flags that often. I mean, Big Ten is tough on the perimeter as far as how physical it gets, and they're pretty lenient, so no, I wasn't expecting it."
Nebraska took advantage of that Michigan State penalty, beating the Spartans 28-24 when Martinez threw a 5-yard touchdown pass to Jamal Turner with 6 seconds left Saturday night.
The call on Dennard gave the 21st-ranked Cornhuskers first down at the 5 with 17 seconds left - they would have had to settle for a tying field goal attempt if the incompletion had stood.
Turner's touchdown capped a thrilling comeback in which the Cornhuskers scored two touchdowns in the final 7:02. Nebraska (7-2, 4-1) remains tied with Michigan atop the Big Ten Legends Division - and beat the Wolverines head to head.
"I can't believe that I won the game," said Turner, a sophomore. "I've been dreaming about this my whole life."
It was the third time this season in conference play that Nebraska rallied from a double-digit deficit in the second half.
Le'Veon Bell ran for 188 yards and two touchdowns for Michigan State (5-5, 2-4).
Martinez rushed for 205 yards and two touchdowns, becoming Nebraska's career leader in total offense. He also threw three interceptions, but was still standing at the end.
"Early on in the game, I took a few shots to my head," Martinez said. "We just keep fighting."
Nebraska is unbeaten in seven meetings with Michigan State, but the Cornhuskers never led this one until the end, after they took over at their own 20 with 1:20 remaining and went 80 yards in nine plays.
Martinez kept the drive alive with a 38-yard completion to Kyler Reed to the Michigan State 20 on fourth-and-10. On third down from the 20, Martinez threw toward Kenny Bell, but Dennard was there to reach his right arm out and break up the pass.
It looked like Dennard turned around in plenty of time to make a play on the ball, but he may have impeded Bell's progress with the arm. The flag came out, giving Nebraska a new set of downs.
"There are a lot of calls I would like to take a look at," Michigan State defensive coordinator Pat Narduzzi said. "Who am I to judge? It didn't look good."
Martinez found Turner on an out pattern at the left edge of the end zone.
Dennard's penalty wasn't the only one that cost Michigan State. With the score 24-14, Dennard intercepted a pass at his own 4 and weaved his way back for what looked like a long touchdown return. It was nullified by a personal foul during the return on Michigan State's Johnny Adams.
"It's just a bad penalty to have, any way you cut it," Spartans coach Mark Dantonio said. "There were too many unforced penalties on our end that hurt us."
The Spartans ended up having to punt, and Martinez made it 24-21 with his 35-yard touchdown run with 7:02 to play. Less than a minute later, Michigan State was punting again.
The Spartans stopped Nebraska on fourth down near midfield with 3:12 remaining, but the Cornhuskers had timeouts remaining and forced one more punt - on fourth-and-2 from the Nebraska 39. After a low snap, Mike Sadler kicked the ball into the end zone, giving Nebraska plenty of breathing room to start the winning drive.
Martinez became Nebraska'a career leader in total offense, passing 2001 Heisman Trophy winner Eric Crouch with a dynamic first half. With Michigan State ahead 7-0 in the first quarter, Martinez faked a handoff to Ameer Abdullah, who was dropped immediately in the backfield.
Martinez kept the ball and took off for a 59-yard run, which set up his 2-yard touchdown pass to Abdullah.
The Spartans took the lead again on a 46-yard scoring pass from Andrew Maxwell to Tony Lippett, who made the catch with three Nebraska defenders in the area. Martinez answered again, getting a nice block from Kenny Bell and turning up the right sideline for a 71-yard touchdown run that made it 14-all in the second quarter.
With the Spartans ahead 17-14 late in the third, Dennard intercepted Martinez's long pass and returned it 30 yards to the Nebraska 38. Le'Veon Bell scored on a 1-yard run 40 seconds into the fourth.
Martinez, a junior, now has 8,166 yards of total offense. Crouch had 7,915.