Eagles running back Boston Scott catches the winning touchdown pass against Jabrill Peppers, lifting Philadelphia to a 22-21 win Thursday night against the New York Giants. Derik Hamilton/Associated Press

PHILADELPHIA — Carson Wentz threw an 18-yard touchdown pass to Boston Scott with 40 seconds remaining, and the Philadelphia Eagles overcame an 11-point deficit in the final seven minutes to beat the New York Giants 22-21 on Thursday night.

Daniel Jones shook off a stumble that prevented him from an 88-yard touchdown run and had the Giants leading 21-10 following a 2-yard pass to Sterling Shepard with 6:21 left.

But Wentz led a comeback with a depleted offense missing eight starters. His 3-yard pass to Greg Ward cut it to 21-16. After the 2-point conversion failed, the Eagles got the ball at their 29 with 2:02 to go.

Wentz completed passes of 11 and 30 yards to Richard Rodgers. On third down from the 5, a defensive holding penalty gave the Eagles a first down at the 3. But three-time All-Pro center Jason Kelce was called for a facemask penalty that pushed it back to the 18.

No big deal.

Wentz threw a perfect strike to Scott, and the backup running back made an excellent catch to give Philadelphia the lead. The 2-point conversion failed, but Jones was sacked and fumbled on the ensuing possession.

Wentz threw for 359 yards and two TDs and ran for a score.

Jones had only the end zone ahead of him away when he took off running from the Giants 12 in the third quarter. He was well ahead of everyone chasing him until he stumbled and got tackled before he could get up at 8.

A pass interference penalty against Nickell Robey-Coleman on third down gave the Giants (1-6) another try, and Wayne Gallman ran in from the 1 to give them a 14-10 lead.

Jones’ 80-yard run was the longest by a Giants quarterback and tied for the fourth-longest in team history. Patrick Mahomes, the 2018 NFL MVP, couldn’t resist poking some fun at Jones. He tweeted: “I mean i can’t even say anything cause i would never be able to run that far either.”

Jones threw a 39-yard TD pass to Golden Tate in the first quarter.

Questionable play-calling cost the Eagles (1-4-1) early in the fourth quarter. Wentz completed a 40-yard pass to Travis Fulgham and the Eagles reached the 7 when Jalen Hurts came in to run an option and gained no yards. After Wentz ran to the 3, Eagles Coach Doug Pederson went for it on fourth down. The call was a fade to No. 5 tight end Hakeem Butler, who has no career catches. Logan Ryan broke it up.

The Giants then drove 97 yards to take a 21-10 lead.

Philadelphia’s depleted offense picked up where it left off against Baltimore when it scored 22 fourth-quarter points in a 30-28 loss. Using a no-huddle often on the opening drive, Wentz led the Eagles 75 yards and ran in from the 1 for his fifth TD rushing to make it 7-0. Wentz scrambled 3 yards on fourth-and-1 to keep the drive going and connected with Rodgers for 18 yards to the 1 to set up the score.

But the Eagles reverted to their mistake-prone ways until the final 6 1/2 minutes.

REVOLVING DOOR

Left guard Sua Opeta became the 10th offensive lineman to start for the Eagles this season, and fourth to make his first NFL start.

Comments are not available on this story.