The Cornhuskers (5-2, 2-1 Big Ten) rallied from 12 down in the fourth, taking a one-point lead when Martinez hit Ben Cotton with a 7-yard pass with just more than 2 minutes left, and hung on when a 53-yard field goal attempt by Northwestern's Jeff Budzien barely missed wide right with 1:10 remaining. That kept Nebraska in the thick of the Legends division race after being blown out at Ohio State two weeks earlier.
The Cornhuskers can thank Martinez for that. He led them to two touchdowns in the fourth quarter and completed 27-of-39 passes in the game, helping Nebraska rack up 543 yards of total offense.
Quincy Enunwa added 110 yards receiving, while Kenny Bell caught six passes for 77 yards and a touchdown. Ameer Abdullah ran for 101 yards on a day when Rex Burkhead left with an unspecified injury after a short run early on.
Venric Mark led Northwestern (6-2, 2-2) with 118 yards rushing, including an 80-yard touchdown that made it an 11-point game early in the third. Trevor Siemian threw for two touchdowns but was just 15 of 35 for 116 yards as the Wildcats lost for the second time in three games.
Things were looking good for Northwestern until the closing minutes.
Quiet in the first half after rushing for 182 yards against Minnesota the previous week, Mark broke through a massive hole in the middle early in the third quarter on that 80-yard run, making it 21-10.
Martinez made it a five-point game when he ran it in from the 3 with just over a minute left in the third, the two-point conversion run failing. But Northwestern's Mike Trumpy made it 28-16 early in the fourth following a gutsy decision to go for it on fourth-and-inches at the 5. Kain Colter bounced off the pack and spun for a 2-yard gain to keep the drive going, and Trumpy ran it in on the next play.
Nebraska quickly responded with an 80-yard scoring drive, Martinez's 7-yard pass to Taariq Allen capping the drive and drawing loud cheers from the large contingent of Cornhuskers fans. They were really roaring after Cotton caught the go-ahead TD pass, and so was he, for that matter. He stood in the back of the end zone and let one out as teammates mobbed him.
Nothing was easy about this one, but Nebraska could at least breathe a little easier, particularly after that 63-38 loss at Ohio State.
adidas Men's Nebraska Cornhuskers Grey Sideline Coaches PoloPrice: $38.93 Shop
South Carolina has decided to give up Saturday's home game against No. 7 LSU because of devastating floods that have hit the state, moving the game to Baton Rouge.
West Virginia All-Big 12 safety Karl Joseph is out for the remainder of the season after injuring his knee during a non-contact drill in Tuesday's practice.
Rutgers has reinstated senior wide receiver Leonte Carroo a day after an assault charge against him was dropped.
Tennessee senior wide receiver Alton "Pig" Howard has been dismissed from the team for a violation of team rules, coach Butch Jones announced.
UCLA junior linebacker Myles Jack has withdrawn from school and will enter the NFL draft, making the decision just weeks after suffering a season-ending knee injury.
Police charged a former Michigan football player with three felonies Wednesday related to an accusation that he filmed part of a sexual encounter with a woman without her knowledge or consent.