DETROIT (AP) Matthew Stafford threw for two touchdowns, including one to Calvin Johnson early in the fourth quarter, and the Detroit Lions beat the San Francisco 49ers 32-17 on Sunday.
The Lions (6-9) have won five of their last seven games, perhaps giving coach Jim Caldwell a chance to keep his job for a third season.
The 49ers (4-11) have lost three straight and five of six under first-year coach Jim Tomsula.
Detroit took advantage of several mistakes for San Francisco's defense and special teams.
Stafford's 1-yard TD pass to Johnson gave Detroit a 12-point lead one play after Tramaine Brock was called for pass interference in the end zone. During the drive, the 49ers were flagged for being offside or in the neutral zone for the seventh time to set a single-game high by an NFL team this year, according to STATS.
AP NFL website: www.pro32.ap.org and http://twitter.com/AP-NFL