STARKVILLE, Miss. (AP) -- Jalen Hurts hit DeVonta Smith for a 26-yard touchdown pass with 25 seconds remaining to lift No. 1 Alabama over No. 18 Mississippi State 31-24 on Saturday night.
Alabama (10-0, 7-0 SEC, CFP No. 2) won its 10th straight game against Mississippi State, but this one was much more difficult than most of the others.
Mississippi State (7-3, 3-3, CFP No. 16) pushed ahead 24-17 early in the fourth quarter on Jace Christmann's 25-yard field goal, but Alabama responded to tie it at 24 when Damien Harris ran for a 14-yard score with 9:49 left. Alabama had a chance to take the lead with about two minutes left, but a 40-yard field goal attempt by Andy Pappanastos banged off the left upright and fell harmlessly to the turf.
Mississippi State went three-and-out on the ensuing drive and Alabama took over with 1:09 remaining. That was more than enough time for the Tide, who drove six plays and 68 yards in 44 seconds for the game-winning score.
The game was tight throughout with neither team leading by more than a touchdown.
Alabama's defense has been dominant for most of the season, but several injuries at linebacker throughout the season finally appeared to take a toll. Mississippi State's power running game gained 172 yards, but in the end Alabama was able to slow the Bulldogs down.
Mississippi State pushed ahead 7-0 in the first quarter on an 11-yard touchdown run by Aeris Williams. It was the first touchdown the Bulldogs had scored against Alabama since 2014 and the first time they'd taken the lead against the Tide since 2008.
Alabama: The Crimson Tide found a way to survive arguably their toughest test of the season. Hurts completed 10 of 19 passes for 242 yards and a touchdown. Calvin Ridley caught five passes for 171 yards.
Mississippi State: The Bulldogs did just about everything right except for win the game. Nick Fitzgerald completed 13 of 24 passes for 158 yards and ran for 66 yards and a touchdown. Williams ran for 97 yards and two touchdowns.
Alabama hosts Mercer next Saturday.
Mississippi State plays at Arkansas next Saturday.