In a game played in difficult, rainy conditions, both star quarterbacks completed one touchdown pass each.
Baltimore's Lamar Jackson dished off a shovel pass to J.K. Dobbins in the first quarter, and Dobbins' second touchdown, this time on the ground, helped build a 20-3 lead in the second period.
Buffalo's Josh Allen found Isaiah McKenzie in the seconds before half-time for what would end up being his only touchdown pass of the game, but he scored with his legs on an 11-yard rush late in the third to tie things at 20-20.
With scores even in the fourth quarter, the Ravens put together a 14-play, 93-yard drive starting from their own five-yard line, but after Dobbins' attempt at his third touchdown was stopped for a loss, the home side were forced into a tough decision.
While they could have kicked a chip-shot field goal and taken the lead, they instead opted to throw for it on fourth down, resulting in a turnover, handing the Bills the ball with four minutes remaining, needing just a field goal to win it.
A 20-yard completion to Dawson Knox and a roughing the passer call on the Ravens defense moved the ball up the field quickly, and with the ball on the one-yard line, the road team decided to play it smart and kneel to set up a game-winning field goal from Tyler Bass as time expired.
Both quarterbacks also ended up leading their teams in rushing, with Allen totalling 70 rushing yards from 11 carries, while Jackson finished with 11 carries for 73 yards.
Eagles force five turnovers to remain undefeated
Philadelphia's defense was the story of the game, recovering four fumbles and securing one interception, with Haason Reddick posting two sacks, two forced fumbles and two fumble recoveries.
On offense, Miles Sanders was a workhorse in the Eagles backfield, carrying the ball 27 times for 134 yards and two touchdowns, while A.J. Brown led both teams in receiving with five catches for 95 yards.
For the Jaguars, Jamal Agnew caught both of Trevor Lawrence's touchdown passes, although the impressive young quarterback completed just 11 of his 23 passes in the rain.
After a lacklustre first half where the Pittsburgh Steelers could only score a pair of field goals, first-round draft pick Kenny Pickett was brought in for his NFL debut as his side ended up losing to the New York Jets 24-20.
Pickett, who replaced Mitchell Trubisky, enjoyed a bright start as he ran in for two short-range rushing touchdowns to turn a 10-6 deficit into a 20-10 lead. While he completed 10 of his 13 passes, those three incompletions ended up as three interceptions to allow the Jets back into the game.
In his first game this season after returning from injury, Zach Wilson manufactured a touchdown pass to Corey Davis to cut the margin to 20-17, before going six-for-six through the air on the final drive to set up a one-yard, game-winning touchdown run from rookie Breece Hall.