WATCH: Nebraska storms back to upset Michigan St. on controversial TD

Earlier this year, No. 7 Michigan State knocked off Michigan on the game's final play, preserving its undefeated season.

Saturday night, the Spartans found out what it's like to lose a heartbreaker. Nebraska, behind two touchdowns in the game's final two minutes, defeated Michigan State at home, 39-38. The Cornhuskers' final score came on a very controversial play.

With 17 seconds to play, Tommy Armstrong Jr. found Brandon Reilly for a 30-yard touchdown. Reilly went out of bounds before catching the ball, but the referees determined that he was "forced" out. Watch the replay above and make your own conclusion.

Regardless, Michigan State is now 8-1 on the season. Nebraska moves to 4-6 -- still holding onto bowl game hopes.