It was a game in which the Seahawks went from potential infamy to making history

Down 21-0 in the second quarter against winless Tampa Bay, the Seahawks mounted the largest comeback in their 38-season history to beat the Bucs, 27-24, in overtime Sunday afternoon at CenturyLink Field.

And when it was over, the Seahawks had the best record in the NFC at 8-1, after the Saints lost at home to the Jets.

Seattle has now won 12 in a row at home and has won 14 of its last 15 games at home.

The Seahawks have also now emerged victorious in four games this season decided in the final minutes, two in overtime.

A 10-yard pass from Russell Wilson to Doug Baldwin tied the score with 1:51 left against a Tampa Bay team that fell to 0-8 and came into the game as a 16-point underdog — the second-biggest spread in Seattle’s favor in team history.

After the Bucs punted on their first possession, the Seahawks started on their 40 on their first possession of overtime. Seattle settled for a 27-yard field goal from Steven Hauschka to win it with 8:11 left.

It was the first home overtime game for Seattle since a 33-30 loss to the 49ers on Sept. 14, 2008.

Seattle had earlier beaten Houston 23-20 in overtime on Sept. 29.

Seattle’s previous largest comeback was 20 points in Denver on Dec. 20, 1995. In that game, the Seahawks were down 20-0 before winning 31-27.

Seattle’s final drive started with 10-yard and 3-yard runs by Marshawn Lynch and then a 10-yard Wilson-to-Baldwin pass took it to the 37.

Two plays later, a 14-yard Lynch run took it to the 19 and a 13-yard run to the 6. After a Wilson kneeldown set up the field goal — the second game-winner this year for Haucshka.

Tampa Bay scored twice in 39 seconds late in the second quarter to put the Seahawks in a 21-point hole and shock the crowd of 67,873 at CenturyLink Field.

Seattle appeared ready to put the sluggishness of last Monday’s 14-9 win against St. Louis behind it as it drove 59 yards to the Tampa Bay 21 on its initial possession. But on third-and-five, Wilson was off-target as he tried to hit Zach Miller, with Tampa Bay’s Mark Barron intercepting.

Tampa Bay scored first on a 12-yard pass from Glennon to tight end Tim Wright on a drive that was helped by a pass interference penalty on Seattle’s Earl Thomas. That capped what was officially a 90-yard, 10-play drive.

The Bucs then drove 84 yards the next time it had the ball capped by a 20-yard pass from Glennon to Tiquan Underwood with 2:55 left in the fist half.