Deebo Samuel's carelessness almost cost his team the win. Raj Mehta-USA TODAY Sports

The San Francisco 49ers beat the Detroit Lions as expected on Sunday, but they certainly made things needlessly interesting late in the fourth quarter.

The 49ers held a 24-point lead against the Lions in the fourth quarter Sunday, but Detroit stormed back with the help of an onside kick recovery to make it a 41-33 game. Still, the 49ers needed only one first down to ice the game.

They got it on third down, but as wide receiver Deebo Samuel crossed the marker, he had the ball punched out by Detroit’s Trey Flowers, leading to a fumble that changed the game completely.

Samuel had the first down, and had he been able to hold on and go down, that would have been it. Instead, the Lions got another chance. Fortunately for Samuel, the defense held firm, and the 49ers held on to win.

The error shouldn’t distract from the rest of Samuel’s day, which saw him make nine catches for 189 yards and a touchdown. He’ll still be the most relieved man in the building, though, and we can add his turnover to the list of near-misses in terms of costing teams a game.

More must-reads:

TODAY'S BEST
Mavericks advance to Western Conference Finals aided by controversial call late
Connor McDavid, Oilers hammer Canucks to force Game 7
Tyson Fury-Oleksandr Usyk epic increases excitement for potential rematch
Seize the Grey wins in muddy Preakness
Even Mike Budenholzer admits the Suns need a point guard
Watch: Juan Soto's first multi-homer game as a Yankee
Xander Schauffele, Collin Morikawa lead at PGA Championship
Knicks could get major boost for Game 7 showdown with Pacers
Giants All-Star pitcher suffers setback in recovery from injury
Panthers star named winner of 2024 Selke Trophy
WNBA to investigate $100,000 sponsorship deals for Aces players
Tiger Woods blames one big factor for missing the cut at PGA Championship
'Ain't good enough': Draymond Green claims Celtics must 'win it all' or it's a 'failure'
Blue Jays GM wants struggling club to feel 'massive sense of urgency'
Raptors expected to flip former NBA champion during the offseason
MLB insider reveals Mets' massive extension offer that Pete Alonso turned down
Celtics legend provides update after gruesome finger injury
Bulls hire former NBA head coach as top assistant
Chiefs move on from young running back
20-year MLB veteran working out, unsure about playing future

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.