KALAMAZOO, Mich. (AP)Jaiden Credle ran 36 times for 136 yards and touchdown, Justin Lynch scored on a 9-yard run in the closing seconds and Northern Illinois beat Western Michigan 24-21 Wednesday night.

Lynch finished with 83 yards rushing on six carries for Northern Illinois (3-7, 2-4 Mid-American Conference).

Treyson Bourguet ran for a 16-yard touchdown for Western Michigan (3-7, 2-4) in the first quarter, Sean Tyler added a 3-yard TD run that made it 14-10 just before halftime and Bourguet threw a 26-yard touchdown pass to Anthony Sambucci that gave the Broncos a 21-17 lead going into the fourth quarter.

After a Western Michigan punt, the Huskies took possession at their own 27 with 3:13 to play and, on the next play from scrimmage, Lynch – the younger brother of NIU All-American and 2013 Heisman Trophy finalist Jordan Lynch – ripped of a 52-yard run to the 21 followed by runs of 7 and 9 yards before his TD run capped the scoring with 56 seconds left.

Western Michigan defensive end Andre Carter was ejected early in the fourth quarter when he was called for his second unsportsmanlike conduct penalty for spiking the ball after he intercepted a pass in Northern Illinois territory.

More AP college football: https://apnews.com/hub/college-football and https://twitter.com/ap-top25. Sign up for the AP’s college football newsletter: https://tinyurl.com/mrxhe6f2