Nick Foles quickly made everyone forget about his deplorable game against Dallas by having a game for the ages.

The Eagles’ second-year quarterback tied an NFL and Eagles record with seven touchdown passes. In all, he completed 22 of 28 passes for 406 yards in the Eagles’ shockingly easy 49-20 win over the Oakland Raiders on Sunday.

Foles tied Adrian Burk for the team record, which Burk set in 1954 against Washington. There are five others who had seven TDs passing in a game. It was most recently done by Denver’s Peyton Manning in the season opener against the Ravens.

Foles, Manning and Y.A. Title are the only ones to do it without throwing an interception. Foles has 13 touchdown passes without an interception this season. Manning is the only QB to start a season with more TDs without an interception.

It was quite a contrast from Foles’ last start, when he completed 11 of 29 passes for 80 yards against the Cowboys on Oct. 20 before leaving after the third quarter with a concussion.

Perhaps this will end the debate of the Eagles’ starting quarterback for the regular season. Michael Vick sat out for the third time in four games with an injured hamstring. It’s not known if he’ll be able to return this coming Sunday, when the Eagles play the Green Bay Packers.

Even if he is able to return, it’s hard to see him playing instead of Foles, who threw more touchdown passes against the Raiders than Vick has in five games (five) this season. It also surpassed the six that Foles had in his previous three games.

Foles threw three touchdown passes to Riley Cooper, who set a career high with 139 yards receiving, breaking his mark of 120 set against Tampa on Oct. 13 with Foles at quarterback. Foles threw another to DeSean Jackson, who had 150 yards receiving.

LeSean McCoy, Zach Ertz and Brent Celek caught the other touchdown passes as the Eagles had 542 yards of total offense, or more than the 479 yards they had the previous two games combined, when they failed to score an offensive touchdown.