The San Francisco 49ers are heading to the Super Bowl once again.

The 49ers, hosting the Detroit Lions in the NFC Championship at Levi’s Stadium on Sunday evening, came back from a 17-point deficit to win 34-31 to make the team’s eighth trip to the Super Bowl.

Facing San Francisco in the final game of the National Football League playoffs — Super Bowl LVIII will be played Feb. 11 in Las Vegas — will be the Kansas City Chiefs, who defeated the Baltimore Ravens in the AFC Championship earlier Sunday.

The 49ers were down 24-7 at halftime Sunday but scored the game’s next 27 points on their way to the win. The last time they made the Super Bowl was in 2020 and was also against the Chiefs, who scored 21 straight points in the fourth quarter to come back and win 31-20.

San Francisco Mayor London Breed was among 49ers fans who took to social media to celebrate Sunday’s victory.

“All right @49ers! Congratulations for taking down the Detroit Lions in today’s NFC Championship game and showing the world that the Bay has the spirit and drive to win,” Breed wrote. “Super Bowl LVIII, here we come!”

Dan McMenamin is the managing editor at Bay City News, directing daily news coverage of the 12-county greater Bay Area. He has worked for BCN since 2008 and has been managing editor since 2014 after previously serving as BCN’s San Francisco bureau reporter. A UC Davis graduate, he came to BCN after working for a newspaper and nonprofit in the Davis area. He handles staffing, including coaching of our interns, day-to-day coverage decisions and management of the newswire.