The road to the Super Bowl in the NFC will go through San Francisco for the first time since 1997.
The 49ers won the NFC West and a No. 1 seed in the playoffs with a 26-21 victory over the Seattle Seahawks on Sunday night when Jacob Hollister was stopped by rookie linebacker Dre Greenlaw on fourth-and-goal just inches short of the end zone. San Francisco claimed its first division crown since 2012 and wrapped up home-field advantage throughout the NFC playoffs by silencing a Seattle crowd that showed up looking for a division title and to celebrate the return of running back Marshawn Lynch.
But it took a replay review for San Francisco to finally celebrate its title.
Seattle took possession at its own 27 with 2:27 left down by five. Russell Wilson drove the Seahawks deep into San Francisco territory and on fourth-and-10, Wilson hit John Ursua for 11 yards to the 1. Wilson spiked the ball, but Seattle was called for delay of game on second down with confusion about whether Lynch should enter the game. Backed up to the 6, Wilson was incomplete on two straight passes.
On fourth-and-goal, Hollister caught a pass underneath but was immediately knocked down by Greenlaw. Replay confirmed Hollister hit the ground before the ball reached the goal line, and San Francisco's celebration was on.
"Unreal," quarterback Jimmy Garoppolo said. "The defense stepped up. It was incredible."
Garoppolo threw for 285 yards and Raheem Mostert ran for a pair of second-half touchdowns. San Francisco was dominant in the first half and made enough big plays in the second to hold off Seattle's rally from a 13-0 halftime deficit.
Seattle's crowd had the stadium shaking after Lynch scored on a 1-yard TD plunge with 9:55 left to pull the Seahawks to 19-14. Skittles rained down on the field and the Seahawks had all the momentum.
But those same fans were silenced in barely four minutes. San Francisco marched downfield with more big plays as Garoppolo hit George Kittle and Deebo Samuel. Mostert capped the drive with his second touchdown -- a 13-yard run -- and a 26-14 lead with 5:51 remaining.
Seattle scored with 3:36 left on a 14-yard touchdown pass from Wilson to DK Metcalf, but Wilson didn't have one last magical moment.
Wilson was 25 of 30 for 233 yards. Lynch had 12 carries for 34 yards in his first game since October of last season.
The 49ers (13-3) are the top seed in the NFC playoffs for the first time in 22 years and will face the conference's lowest remaining seed at home in two weeks.
Seattle (11-5) took its fourth home loss of the season in a place that used to be impenetrable. The Seahawks will play at NFC East champion Philadelphia next week in the wild-card round. Seattle beat the Eagles 17-9 at Philadelphia in late November.
Samuel was a nightmare for the Seahawks, scoring on a 30-yard reverse in the first half and finishing with five catches for 102 yards. Kittle, who didn't play in the first meeting between the teams in November, had seven catches for 86 yards. Even fullback Kyle Juszczyk had a huge play with a 49-yard catch immediately after Seattle pulled to 13-7 early in the second half.
Garoppolo directed the entire performance. He hit his first nine passes and finished 18 of 22 and didn't commit a turnover.
The 49ers next play in the divisional playoff round at 1:30 p.m. Saturday, Jan. 11 at Levi's Stadium. That game will air on NBC.
Seattle will play Philadelphia to open the playoffs next week.