Top moments from Josh Allen, Bills' comeback win over Ravens

play
Bills top Ravens on FG as time expires (0:16)

Matt Prater drives a game-winning field goal as time expires to give the Bills a 41-40 victory over the Ravens. (0:16)

The Buffalo Bills pulled off a wild 41-40 "Sunday Night Football" comeback victory over the Baltimore Ravens.

Bills quarterback Josh Allen threw for 394 yards and two touchdowns, while rushing for 33 yards and two scores. Bills wide receiver Keon Coleman led the team with 112 receiving yards plus a touchdown.

Ravens quarterback Lamar Jackson threw for 210 yards and two scores, while also rushing for 70 yards and a touchdown. His teammate, running back Derrick Henry, ran for 169 yards rushing and two touchdowns.

Baltimore led 40-25 with 11:42 left in the game. However, Buffalo responded with a touchdown, then recovered a fumble that led to another score. The Bills' 2-point conversion failed, giving the Ravens the ball back with 1:58 and a two-point lead.

On third-and-9 with 1:40 left, Jackson's pass to DeAndre Hopkins was short of a first down, forcing Baltimore to punt. Buffalo drove down the field and nailed a 32-yard field goal to steal the victory.

According to ESPN Analytics, the Ravens' win probability was 99.1% at the 4:48 mark of the fourth quarter.

Buffalo is the fourth team since 2000 to win after trailing by 15-plus points in the final four minutes of the fourth quarter, and the first team to do so since the New Orleans Saints in 2017, according to ESPN Research. Since 2000, teams are now 4-2,312 in this scenario.

Here are the highlights and biggest moments from Buffalo's remarkable victory at home.