The Oakland Raiders set an NFL record Sunday by committing 23 accepted penalties in their 30-24 victory over the Tampa Bay Buccaneers.

The penalties accounted for 200 yards, which is the third-most all time for yards penalized in one game.

Since the start of the 2001 season, the Raiders have been the most penalized team in the NFL. AP Photo/Jason Behnken

Luckily for the Raiders, Derek Carr had himself a day, setting a franchise record with 513 passing yards. Cotton Davidson held the previous team record with 427 pass yards on Oct. 25, 1964. Carr also tied Phil Simms for 10th all time in single-game yardage.

That total number of penalties does not include ones that were declined or offset. The previous record of 22 had been hit three times, most recently in 1998 by the San Francisco 49ers in a game against the Buffalo Bills, according to ESPN Stats & Information.

The Raiders were a good bet to break the record. Since the start of the 2001 season, they have been the most penalized team in the NFL. Their 1,961 accepted penalties during that span (through Week 7 of 2016) is 207 more than the next-most-penalized team. Another 313 penalties have been declined or offset during that period. They also lead the league in accepted penalties this season with 86 accepted penalties.

Even so, they are atop the AFC West with a 6-2 record at the midpoint of their season.