The Patriots pulled off a last-minute victory after topping the Bills 29-25 at Gillette Stadium.
It was the 300th regular season win for Coach Bill Belichick.
Mike Gesicki caught a one-yard pass from Mac Jones for the go-ahead touchdown with 12 seconds remaining in the game.
Jones finished the day 25 of 30 for 272 yards and a pair of touchdowns.
Ezekiel Elliott carried the ball 11 times for 31 yards and a score.
New England is now last in the AFC East at 2-and-5 and will visit the Miami Dolphins in Week Eight. Josh Allen completed 27 of his 41 pass attempts for 265 yards, two touchdowns and a pick. He also ran for a score.
Buffalo is now second in the division at 4-and-3 and will host the Tampa Bay Buccaneers in Week Eight on Thursday Night Football.
(Photo by Maddie Meyer/Getty Images)