San Francisco 49ers quarterback Jimmy Garoppolo (10) leaves the field on a cart during the first quarter against the Miami Dolphins at Levi's Stadium. Kelley L Cox-USA TODAY Sports

It’s a good thing that Brock Purdy looked good on Sunday because the San Francisco 49ers are going to need him going forward.

Kyle Shanahan announced at his postgame press conference on Sunday that Jimmy Garoppolo suffered a broken foot in Week 13 and is out for the season.

“He’ll be out. He’ll end up needing surgery — broke a few things in there,” Shanahan said of Garoppolo’s foot.

Shanahan said he got that news during the second quarter of his 49ers’ 33-17 win over the Miami Dolphins.

Purdy, who was the Mr. Irrelevant in the 2022 draft, took over and played well. He went 25/37 for 210 yards, 2 touchdowns and 1 interception. The Niners improved to 8-4 with the win.

San Francisco is now down to their third-string quarterback. They began the season with Trey Lance as their starter and replaced him with Garoppolo after Lance suffered a season-ending injury in Week 1. Lance was knocked out for the season with a broken ankle.

More must-reads:

TODAY'S BEST
MLB announces punishment for Astros' Ronel Blanco over foreign substance
Athletics place lefty on 15-day IL, transfer infielder to 60-day
Rafael Nadal switches gears, gives major update on French Open status
Atlanta to be first race of NASCAR's In-Season Tournament
West Point alum made history in his MLB debut with Reds
Heat legend cautions Lakers against hiring JJ Redick
Welcome to the WNBA: Caitlin Clark sets infamous record in debut
Jalen Brunson leads Knicks to blowout win in Game 5 vs. Pacers
Nikola Jokic torches DPOY to lead Nuggets past Wolves in Game 5
Oilers use late heroics to tie Canucks at two games each
Watch: Astros pitcher ejected after foreign substance check
Kirk Cousins not angry with Falcons because winning is 'hard enough'
Bronny James has surprising comments on potentially teaming up with LeBron
Bills add two-time Super Bowl champ to new-look WR room
Brewers lose team-leading home run hitter to injured list
Sandy Alderson denies involvement in Mets, Billy Eppler IL controversy
Twins reliever shut down for six weeks with patellar tendon tear
Chris Finch throws shade at Nuggets star over Rudy Gobert’s fine
Cardinals head coach warns not to bet against Kyler Murray
Details emerge on Jason Kelce’s role at ESPN

Want more 49ers news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.