Former USC star Sam Darnold has backup plan with the 49ers ahead of Super Bowl LVIII

San Francisco quarterbacks Brock Purdy (13) and Sam Darnold (14) work out side by side in practice.

During the San Francisco 49ers’ run to Super Bowl LVIII, Sam Darnold’s one-play-away mentality as a backup quarterback came to life.

In consecutive late-season games, starter Brock Purdy left because of injuries, bringing on Darnold, the former USC star and No. 3 pick by the New York Jets in the 2018 draft.

Now, with the 49ers facing the Kansas City Chiefs on Sunday at Allegiant Stadium, Darnold could be one play away from performing on the NFL’s biggest stage.

“As a backup you have no idea what’s going to happen,” Darnold said. “Obviously, we want Brock to stay healthy and stay on the field. But if my time does come, I’m very confident in myself to be able to go out there and do my job.”

The 49ers learned a hard lesson about the need for a capable backup in last season’s NFC championship game against the Philadelphia Eagles.

Read more: Why the 49ers traded for Christian McCaffrey: 'Do you want him to go to L.A.?'

Purdy, who in the latter part of the season had ascended to a starting role because of foot injuries suffered by Trey Lance and Jimmy Garoppolo, suffered an elbow injury in the first quarter. Journeyman Josh Johnson replaced Purdy, but Johnson suffered a concussion, forcing Purdy to return with no threat to pass.

The Eagles routed the 49ers, 31-7.

With Purdy’s readiness for the start of the 2023 season questionable, the 49ers signed Darnold to a one-year contract that included $3.5 million in guarantees, according to

It is Darnold’s third NFL stop.

After playing three seasons for the Jets, Darnold in 2021 was traded to the Carolina Panthers. In 2022, he played the final six games — going 4-2 as the starter — but was not re-signed.

This season for the 49ers, Darnold appeared in 10 games and completed 28 of 46 passes for 297 yards and two touchdowns, with an interception. He started the finale against the Rams as both teams sat starters to rest for the playoffs.

Read more: Plaschke: Wrong-way columnist makes his Super Bowl LVIII pick, and the winner will be...

Darnold, 26, has high praise for Purdy — the last player selected in the 2022 draft — his teammates and coaches, and the entire 49ers’ organization.

“It’s awesome to be able to work with a guy like Brock, and really everyone in the building is the same every single day,” Darnold said. “And when you get that consistency from your quarterback and from everyone in the building, it makes your job easier.”

The 49ers offense features multiple star players. Purdy was a finalist for the NFL most valuable player award, which was won by Baltimore Ravens quarterback Lamar Jackson. Running back Christian McCaffrey was the league’s offensive player of the year. Receivers Deebo Samuel and Brandon Aiyuk and tight end George Kittle are other weapons.

Darnold’s main job is to help prepare Purdy and the 49ers defense.

When at home in his apartment, Darnold said he verbally goes through play-calls, breaking the huddle, setting players in motion and visualizing coverages.

“I have my own process and don’t move on with the day until my process is done,” Darnold said. “I had a process when I was a starter, and so I just have a new process now that I’m not getting reps on … practice days.”

Read more: Jim Nantz and the Super Bowl: Tales from a broadcasting legend

In December, Darnold replaced Purdy in a 45-29 victory over the Arizona Cardinals, and in a 33-19 defeat to the Baltimore Ravens.

“It was unfortunate that Brock got hurt a couple times this year,” Darnold said, “but I think it definitely helped my mindset, understanding what it takes to be able to go in mid-game.”

Darnold will be a free agent in February and still regards himself as a capable starter. All of his attention is on Sunday’s game, however, whether he plays or not.

That is the role of a backup.

“There is a little bit of a weird mindset that goes with that,” he said, “with wanting to play football, but also understanding my job is to get Brock ready and get the defense ready to go out there and win a game on Sunday.

“That’s my job and I’m going to do the best I can.”

Just for kicks

Chiefs place kicker Harrison Butker (7) watches his game-winning field goal in Super Bowl VII against the Eagles.

Chiefs kicker Harrison Butker put the finishing touch on last year’s 38-35 Super Bowl victory over the Philadelphia Eagles when he kicked a 27-yard field goal with eight seconds left.

Jake Moody, the 49ers rookie kicker, remembers it well.

“I clearly remember last year watching that game and kind of putting myself in his shoes,” Moody said. “Hopefully, I’ll be put in that situation here because you don’t get to play in the Super Bowl every day.

“So to have an opportunity, it would be pretty cool.”

Butker, a seventh-year pro, made 33 of 35 field-goal attempts and all 38 extra-point attempts this season. He has made all seven of his field-goal attempts in the playoffs.

Moody made 21 of 25 field-goal attempts and 60 of 61 extra-point attempts during the season. He has made three of five field-goal attempts in the playoffs.

Read more: Super Bowl LVIII matchups, analysis and prediction

Since he was a child, Moody has envisioned kicking a game-winning field goal in the Super Bowl.

“I’ve run myself through this situation millions of times,” he said, adding, “To actually be here and maybe get a chance to do so, that’s pretty special.”

Super Bowl regular

Sebastian Joseph-Day (69) looks on during San Francisco 49ers practice ahead of Super Bowl LVIII.

Defensive lineman Sebastian Joseph-Day, a sixth-round draft pick by the Rams in 2018, has now prepared for three Super Bowls.

Joseph-Day signed with the 49ers in December after he was released by the Chargers.

Though 2018 was something akin to a redshirt season for Joseph-Day, the Rams advanced to Super Bowl LIII. In 2021, Joseph-Day played a few snaps in the Rams’ victory over the Cincinnati Bengals in Super Bowl LVI.

Read more: Upon further review: 'In the world of officiating, Jim Tunney is Babe Ruth'

On Sunday, he could have a reserve role for a defense that must contain Chiefs quarterback Patrick Mahomes.

“When I got here, I could see how bad they want it,” Joseph-Day said of the 49ers. “They know exactly what it takes.”

Sign up for the L.A. Times SoCal high school sports newsletter to get scores, stories and a behind-the-scenes look at what makes prep sports so popular.

This story originally appeared in Los Angeles Times.