Brock Purdy threw two touchdown passes in his fourth career NFL game for the San Francisco 49ers after Jimmy Garoppolo broke his foot in the 33-17 win over the Miami Dolphins.

Purdy, a seventh-round draft pick from Iowa State, was 25-for-37 with 210 passing yards and had an interception for good measure but was able to pick up where Garoppolo left off. It is unclear whether Purdy will get the start for the team’s Week 14 game against the Tampa Bay Buccaneers, but linebacker Fred Warner expressed confidence the rookie can come in and perform.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Fred Warner celebrates

San Francisco 49ers linebacker Fred Warner, #54, celebrates after the 49ers defeated the Miami Dolphins in an NFL football game in Santa Clara, California, Sunday, Dec. 4, 2022.  (AP Photo/Godofredo A. Vásquez)

"He’s played against the best defense in the league for the past 13 weeks," Warner said, via NBC Sports Bay Area. "He’ll be fine."

Purdy understood he had to be ready to finish out the season and try to guide this team to the playoffs.

49ERS' JIMMY GAROPPOLO OUT FOR SEASON AFTER SUFFERING FOOT INJURY VS. DOLPHINS

Brock Purdy and Daniel Brunskill

San Francisco 49ers quarterback Brock Purdy, #13, celebrates after throwing a touchdown pass to running back Christian McCaffrey with offensive tackle Daniel Brunskill, middle, as Miami Dolphins defensive tackle Christian Wilkins, #94, reacts during the first half of an NFL football game in Santa Clara, California, Sunday, Dec. 4, 2022.  (AP Photo/Godofredo A. Vásquez)

"Sadly, [injuries are] part of the game. I love Jimmy, what he's done in terms of taking me in, and being a brother to me, just telling me little things," Purdy said, via 49ers Webzone. "And his experiences so far in his career that have helped him, he shares them with me. He's not a secretive guy or anything. He wants the guys in that room to be better, to push him as well.

"So to see him go down like that, it's like, man, that sucks. Also, I have to be ready to roll for the rest of the game. My heart feels for him, and he's a brother of mine. Just like the situation with Trey (Lance), when he went down, it sucks seeing your guys go down like that, but you've got to roll, and you've got to find ways to win."

Brock Purdy meets Tua Tagovailoa

Miami Dolphins quarterback Tua Tagovailoa, #1, hugs San Francisco 49ers quarterback Brock Purdy after an NFL football game in Santa Clara, California, Sunday, Dec. 4, 2022.  (AP Photo/Jed Jacobsohn)

CLICK HERE TO GET THE FOX NEWS APP

San Francisco moved to 8-4 with the win.