DENVER (AP) -- Peyton Manning threw three of his four TD passes to Demaryius Thomas and C.J. Anderson ran for 167 yards and the go-ahead score in the Denver Broncos' 39-36 win over the Miami Dolphins on Sunday.

Anderson's 6-yard run with 5:01 left gave the Broncos (8-3) their first lead of the game at 32-28. T.J. Ward's 37-yard interception return of Ryan Tannehill's pass set up Wes Welker's insurance TD catch.

The Broncos needed it after Tannehill drove the Dolphins (6-5) on another scoring drive, hitting Jarvis Landry from a yard out with 1:34 left. Lamar Miller's 2-point dive made it a 3-point game.

The Dolphins' onside kick was recovered by - who else? - Anderson, who sealed the game with a 26-yard run.

© 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed. Learn more about our Privacy Policy and Terms of Use.