Hoping to snap a three-game losing streak, the Bills flew to Invesco Field at Mile High for a Week 16 duel with the Denver Broncos.  Buffalo trailed early in the first quarter as Broncos quarterback Jay Cutler got a 2-yard touchdown run, followed by kicker Matt Prater getting a 23-yard field goal.  Denver increased its lead in the second quarter with Prater's 30-yard field goal.  The Bills responded with a 37-yard field goal from kicker Rian Lindell, followed by running back Marshawn Lynch's 2-yard touchdown run. In the third quarter, Buffalo took the lead with Lindell's 49-yard and 28-yard field goal, but the Broncos answered with Cutler's 6-yard touchdown run.  The Bills struck right back in the fourth quarter as quarterback Trent Edwards completed a 3-yard touchdown pass to rookie wide receiver Steve Johnson.  Denver tied the game with Prater nailing a 43-yard field goal. Buffalo rallied with running back Fred Jackson getting an 8-yard touchdown run, followed the defense surviving the Broncos' late-game drive.

Based on the above article, answer a question. Which team won the game?
Bills