FOXBOROUGH, Mass. (AP) — The New England Patriots overcame the Miami Dolphins’ wildcat offense for a 27-17 win on Sunday.

Miami’s two touchdowns came on possessions on which it used the wildcat most extensively – after gaining just 36 yards on 21 wildcat plays in its previous two games – but New England’s quick-strike ability took back the momentum, The Associated Press reported.

The Patriots (6-2) lead the idle New York Jets (4-4) and Miami and Buffalo (both 3-5) in the AFC East, the AP reported. The win was especially important since Miami had been 3-0 in division games and New England only 1-1. Last season, both finished at 11-5 and had the same record in AFC East games, but the Dolphins made the playoffs with a better conference record, and the Patriots missed them.