The San Francisco 49ers saw off the Indianapolis Colts 48-27 to strengthen their push for a the top seed in the NFC.
Brock Purdy threw for 295 yards and five touchdowns, two of them to Christian McCaffrey, as the 49ers moved to 11-4.
Philip Rivers, in the second start of his comeback from retirement as injury cover at 44, threw for two touchdowns but a late interception by Dee Winters was returned for a touchdown to settle the outcome.
A fifth straight defeat all but ended the Colts (8-7) play-off hopes and secured post-season places for the Buffalo Bills, Jacksonville Jaguars and the Los Angeles Chargers.
The 49ers fifth consecutive win means victories in their final two matches - against the Chicago Bears and a season finale with divisional title rivals the Seattle Seahawks - will mean home advantage in the play-offs, which culminate in the Super Bowl at their own Levi's Stadium.