SANTA CLARA, Calif. (AP) — Brock Purdy and the San Francisco 49ers were on the brink, needing a spark to overcome a big deficit and avoid a third straight loss in the conference title game.

Brandon Aiyuk delivered with an improbable catch that helped save San Francisco's season.

Purdy's 51-yard pass that deflected off a defender's facemask into Aiyuk's hands helped the Niners rally from 17 points down at halftime to beat the Detroit Lions 34-31 on Sunday and reach the Super Bowl.

The 49ers (14-5) scored 17 points in an eight-minute span of the third quarter to tie the NFC championship game and then pulled away in the fourth quarter to earn a rematch against Kansas City after losing to the Chiefs in the Super Bowl four years ago.

“No one was rah-rah,” Purdy said. “No one was freaking out. It’s football. There’s a lot of experienced guys on this team, veteran guys who have been in crazy situations. We were just like, ‘We have to do our job.’”

San Francisco mounted the fourth comeback ever from 17 points down or more in a conference title game thanks to some big plays by Purdy and bad mistakes from the Lions (14-6), including two failed fourth downs in field-goal range. Detroit fell short of reaching the first Super Bowl in franchise history.

NFC Championship - Detroit Lions v San Francisco 49ers
Getty Images
loading...

“We’re not going out like this,” coach Kyle Shanahan said of the mindset at halftime. “Guys didn't want today to be the last day. We put ourselves in a hole. They played like it in the second half and we were able to get the ball to bounce the right way and we made up for what we did in the first half.”

After being questioned about whether he could lead a comeback, Purdy has now done it twice in as many weeks. He engineered a game-winning drive in the fourth quarter to beat Green Bay last week and then had an even bigger comeback against the Lions.

He finished with 267 yards passing and a touchdown, along with 48 yards rushing thanks to a pair of 21-yard scrambles. Now the last pick of the 2022 draft will be starting in the Super Bowl against Patrick Mahomes and the Chiefs.

“All he’s done since he’s been here is play at an elite level,” running back Christian McCaffrey said. “Everything starts with him. We’re lucky he’s our quarterback. He takes a lot of heat for absolutely no reason.”

McCaffrey had two TD runs and little-used backup Elijah Mitchell scored on a 3-yard run to make it 34-24 with 3:02 to play as the Niners got over the conference title game hump after losing the past two seasons.

NFC Championship - Detroit Lions v San Francisco 49ers
Getty Images
loading...

“There’s been unfinished business for a while, man. Our team was set out for this for a long time,” Shanahan said. “It’s been a long year to get to this point, and we got it done today. It was hard at the beginning, but the character we have in our team, the type of guys we have, we can’t wait to get to Vegas, man.”

The Niners blew a 10-point lead in the fourth quarter of the NFC championship game against the Los Angeles Rams two years ago and then were forced to play much of last year’s title game loss at Philadelphia without a functioning quarterback after Purdy injured his elbow on the opening drive and fourth-stringer Josh Johnson left with a concussion early in the third quarter.

But San Francisco managed to make the long journey back to this stage and now is in position to deliver the franchise its record-tying sixth Super Bowl title and first since the 1994 season.

A magical season for the Lions ended in heartbreak. Detroit remains the only team to play every season of the Super Bowl era without reaching the ultimate game. This looked like it could be the year to end that drought when Detroit won back-to-back playoff games after winning just one in the previous 56 seasons.

But the Lions couldn’t finish the job despite holding a 24-7 halftime lead.

“When you lose that way, it’s hard,” coach Dan Campbell said. "You feel like you get your heart ripped out. But I’m proud of that group and I’ll go anywhere with that group.”

San Francisco settled for a field goal on the opening drive of the second half before the game completely flipped in a four-minute span.

NFC Championship - Detroit Lions v San Francisco 49ers
Getty Images
loading...

Campbell opted to go for it on fourth-and-2 from the San Francisco 28, but Josh Reynolds couldn’t hold onto a pass from Jared Goff, leading to a turnover on downs.

The Lions then seemed to have a potential interception when Purdy’s deep pass bit Kindle Vildor in the face mask, but the ball popped up and was caught for a spectacular 51-yard gain by Aiyuk.

“When I saw him catch that, I was like that’s insane,” Purdy said.

Purdy found Aiyuk three plays later for a 6-yard score.

“Before the game, a ladybug landed on my shoe. And you all know what that means,” Aiyuk said. “That’s all I can say. Other than that, I don’t know.”

Jahmyr Gibbs then fumbled on the next play from scrimmage, setting up a 1-yard run by McCaffrey to tie the game at 24.

It only got worse from there for the Lions with Reynolds dropping another pass on third down, leading to a punt that Detroit had a chance to down at the 1 but botched.

Purdy then drove the Niners to a 33-yard field goal by Jake Moody and their first lead of the game.

“Momentum certainly changed pretty quickly," Goff said. “They scored, we didn’t convert the fourth down, they scored again, we turned the ball over. That little sequence right there makes it tough.”

Campbell bypassed a chance at a game-tying field goal on fourth-and-3 from the Niners 30 midway through the fourth quarter. Goff threw an incomplete pass and the Niners drove to the insurance touchdown.

NFC Championship - Detroit Lions v San Francisco 49ers
Getty Images
loading...

Goff added a TD pass to Jameson Williams with 56 seconds to play, but the 49ers recovered the onside kick to seal the win. Goff finished 25 for 41 for 273 yards and a touchdown.

San Francisco’s heralded front seven had no answer in the first half for Detroit’s offensive line, which repeatedly opened up big holes, giving the backs several yards even before first contact.

The Lions ran for 148 yards in the first half, getting TD runs from Williams, David Montgomery and Gibbs.

Michael Badgley added a late field goal to give Detroit a 24-7 lead at the half, tied for the second-biggest scoring output for a road team in the first half of a conference title game since the NFL-AFL merger.

NFC Championship - Detroit Lions v San Francisco 49ers
Getty Images
loading...

More From 1460 ESPN