The Philadelphia Eagles came back to defeat the New England Patriots, 41-33, in Minneapolis on Sunday to win their first Super Bowl and their first National Football League championship in 57 seasons.

The Patriots boasted the top-ranked defense in the NFL, but they couldn’t stop the Eagles’ journeyman quarterback, Nick Foles, who was named the game’s Most Valuable Player.

 Eagles fans flood streets of Philly for Super Bowl celebration1:18

Foles, who replaced injured starter Carson Wentz in the 14th week of the regular season, completed 28 of 43 passes for 373 yards and three touchdowns. His 11-yard touchdown pass to a diving, juggling Zach Ertz provided the margin of victory, which was sealed by Brandon Graham’s fumble recovery from Patriots quarterback Tom Brady with 2 minutes, 9 seconds to play.

Full game coverage and video on NBC Sports

Otherwise, Brady, the Patriots’ 40-year-old superman, was customarily outstanding, even in defeat, throwing for more than 500 yards and three touchdowns.

Related: Use of Martin Luther King Jr. to sell trucks infuriates admirers during Super Bowl

Image: Super Bowl LII

Zach Ertz, who later caught the game-winning touchdown for the Philadelphia Eagles, tries to break a tackle by the New England Patriots’ Jordan Richards during Super Bowl LII in Minneapolis on Sunday. The Eagles knocked off the fabled Patriots, 38-33, to win their first Super Bowl. Andy Lyons / Getty Images

The game was sweet revenge for the Eagles, who lost to Brady, coach Bill Belichick and the Patriots 13 years ago in the 39th Super Bowl, 24-21. It was their first league championship since they defeated the Green Bay Packers at the start of the Packers’ dynasty after the 1960 season — before the Super Bowl was even created — and only the fourth in team history.