Keenan Reynolds completed a 4-yard touchdown pass to Matt Aiken with 2:02 to play and Nick Sloan added the point after as Navy rallied for a 31-30 win over Indiana on Saturday.
Parrish Gaines' interception with 1:38 remaining sealed the win for the Midshipmen (4-3), who beat a Big Ten opponent for the first time since 1979 when they won at Illinois 13-12.
Earlier in the game, Navy linebacker Jordan Drake's 24-yard interception return had cut the Hoosiers' lead to 17-14.
The win also kept the Midshipmen's bowl hopes alive as they need just two wins in their final five games to return to postseason play.
It was the fifth straight loss for Indiana (2-5) and came despite the fact the Hoosiers moved the ball almost at will against Navy for most of the first three quarters and gained 417 yards on 78 plays.
Indiana led 30-21 with 12:18 left.