A late Christian McCaffrey touchdown gave the San Francisco 49ers a 24-21 win over the Green Bay Packers and moved them one win from the Super Bowl.
The 49ers, the number one seeds in the NFC, had trailed 21-14 heading into the fourth quarter.
Jake Moody cut the gap with a 52-yard field goal before McCaffrey crashed his way over from six yards with 67 seconds on the clock.
Brock Purdy’s 32-yard touchdown pass to George Kittle had given the 49ers a 7-6 interval lead, the Packers responding after the break as Jordan Love threw touchdown passes to Bo Melton and Tucker Kraft either side of McCaffrey’s first score of the night.
The 49ers had not come from behind to win throughout the regular season, but Purdy drove them into position for the decisive score after rookie Anders Carlson had missed a field goal from 41 yards for Green Bay.
In the AFC, the top-seeded Baltimore Ravens saw off the Houston Texans 34-10.
Lamar Jackson threw for two touchdown passes, running for two more as the Ravens pulled away in the second half.
The two teams swapped field goals in the first quarter, Jackson finding Nelson Agholor from three yards in the second quarter before Steven Sims’ 67-yard punt return tied things up at 10-10.
Jackson eased the Ravens in front in the third quarter as he ran in on a score from 15 yards.
The Ravens pulled away in the final quarter, Jackson finding Isaiah Likely from 15 yards and going in himself from eight yards. Nick Tucker capped off the victory with a field goal from 43 yards late on.
The Ravens will host the Buffalo Bills or defending champion Kansas City Chiefs, who meet on Monday, in the AFC Championship game.
The 49ers will entertain the Detroit Lions or Tampa Bay Buccaneers to decide the NFC champions.