PHILADELPHIA — Jake Elliott is building his resume in case he doesn’t have a job with the Philadelphia Eagles in a couple of months.

The rookie kicker filling in for injured veteran Caleb Sturgis kicked a 61-yarder as the clock expired to lift the Eagles to a 27-24 victory over the New York Giants on Sunday.

When the reliable Sturgis comes off injured reserve, it could be a tough decision for coaches.

“If I’m here after eight weeks, that’s great,” Elliott said. “If not, I’m thankful for the opportunity. I’m just trying to do my job while I’m here.”

Elliott’s kick, the longest game-winner in NFL history for a rookie and a franchise record, came after Carson Wentz tossed a 19-yard pass to Alshon Jeffery with 1 second remaining. Elliott was a fifth-round pick by the Bengals and joined the Eagles after Sturgis was injured in Week 1. He was carried off the field by teammates Kamu Grugier-Hill and Mychal Kendricks.

“It was awesome,” Elliott said.

Elliott missed from 52 yards earlier in the game and last week missed from 30 yards and shanked an extra point.

Eli Manning threw three touchdown passes in the fourth quarter, including a 77-yard score to Sterling Shepard, but Philadelphia (2-1) rallied twice. The Giants (0-3) hadn’t scored 20 points in eight straight games before Manning led them to 21 in a span of 5:21. He tossed TD passes of 10 yards and 4 yards to Odell Beckham Jr. to tie it at 14. Manning then connected over the middle to Shepard, who broke a couple tackles and sprinted all the way for a 21-14 lead.

But Philadelphia answered quickly.

A 36-yard penalty for pass interference on Eli Apple put the ball at the 15 and rookie Corey Clement ran in on the next play for his first career TD to make it 21-all.

After the teams traded field goals, Elliott put his name in the record books at the end.

NOTES: Beckham took an unsportsmanlike penalty for pretending to urinate like a dog. Apple had two pass-interference penalties that led to touchdowns. Left tackle Ereck Flowers committed two penalties in the final minute that allowed Philadelphia another chance in regulation. “We aren’t playing smart football,” Coach Ben McAdoo said. “We are all irritable right now and rightfully so.” Beckham said he doesn’t care about unsportsmanlike penalties costing the team 15 yards on the kickoff. “I don’t care if you kick from the 5-yard line on our side,” Beckham said. “We need to make a play.”