Ryan Fitzpatrick tossed a 5-yard touchdown pass to tight end Mike Gesicki with 24 seconds remaining and the Miami Dolphins beat the New England Patriots 27-24 to deny the defending Super Bowl champions a first-round bye in the playoffs.

It is the second straight season the Dolphins have denied the Patriots an unbeaten division record.

Getty Images

New England will now have to play on the opening weekend of the postseason for the first time since 2009. Tennessee will visit Gillette Stadium.