Las Vegas Raiders fan Javier Reyna aka Raider Javi reacts against the Los Angeles Rams in the second half at SoFi Stadium. Kirby Lee-USA TODAY Sports

The Los Angeles Rams pulled off an incredible comeback win over the Las Vegas Raiders on Thursday night, but it may not have been possible without a boneheaded penalty.

Raiders defensive tackle Jerry Tillery made a costly mistake on what became the Rams’ game-winning drive. Los Angeles began a drive at its own 2-yard line trailing 16-10 with just 1:45 remaining in the fourth quarter. The Rams picked up one first down after the Raiders were called for pass interference on 3rd-and-2. Las Vegas then sacked Baker Mayfield for a big loss on first down at the 22, but Tillery was flagged for unsportsmanlike conduct.

Tillery slapped the ball out of Mayfield’s hand as the quarterback was trying to quickly get his team up to the line of scrimmage. You can see the video below:

The Rams had no timeouts remaining, so Tillery was obviously trying to cost them more time. That’s why he was flagged.

Mayfield went on to lead a 98-yard touchdown drive that was capped off with a 23-yard touchdown pass to Van Jefferson to win the game. If Tillery did not commit that penalty, the Rams would have faced 2nd-and-19 at their own 13-yard line with a running clock. The penalty may have been the difference between a win and a loss for L.A.

Mayfield deserves plenty of credit for leading two touchdown drives late in the fourth quarter, but he definitely owes Tillery a big thank-you.

More must-reads:

TODAY'S BEST
Ant-Man leads Timberwolves to Game 1 upset of Nuggets
Luis Arraez makes history in Padres debut
Corey Heim dominates Truck Series race at Kansas Speedway while tempers flare on pit road
Lionel Messi sets MLS record with monster game
Watch: Anthony Edwards does it all for Minnesota
Watch: 150th Kentucky Derby ends in three-horse photo finish
Clippers could see nine-time All-Star jump ship this summer
Phillies get rough injury news on Trea Turner
Watch: Yankees star Aaron Judge receives first career ejection after arguing called third strike
Mavericks lose key player for 'significant period of time'
Blue Jays manager John Schneider blasts team after latest loss
Lakers make another big change after firing Darvin Ham
Draymond Green doubles down on Knicks' inability to win a championship
Phillies lose two-time All-Star to injured list
NBA announces punishment for Lakers star over actions in elimination game
Heat may be cooling on Jimmy Butler's long-term future
NFL insider defends former Steelers QB Kenny Pickett from 'bust' label
Nuggets may miss this player as postseason run continues
Report: Russell Westbrook situation 'far more challenging' than previously thought
Kansas City Chiefs release former second-round pick at WR