Philadelphia Eagles wide receiver Josh Huff (13) rushes during the first half of an NFL football game against the Detroit Lions, Sunday, Oct. 9, 2016, in Detroit. (AP Photo/Duane Burleson)
Philadelphia Eagles wide receiver Josh Huff (13) rushes during the first half of an NFL football game against the Detroit Lions, Sunday, Oct. 9, 2016, in Detroit. (AP Photo/Duane Burleson) Credit: Duane Burleson

Detroit — Matt Prater kicked a 29-yard field goal with 1:28 left and Darius Slay made an over-the-shoulder interception on the next snap, helping the Detroit Lions hand Carson Wentz his first loss with a 24-23 victory over the Philadelphia Eagles on Sunday.

The Lions (2-3) had lost three straight.

The Eagles (3-1) turned the ball over for the first time this season with 2:34 remaining when Ryan Matthews fumbled on a hit by Slay. The loose football was recovered by Tyrunn Walker at the Philadelphia 45.

Stafford set up the game-winning kick by converting a third-and-4 from the Eagles 39 with a perfectly placed pass on a crossing route to Golden Tate, who drew an unnecessary roughness penalty on Malcom Jenkins.

Tate, who was held to only one catch in last week’s loss at Chicago, had three receptions for 39 yards. The veteran receiver also helped out Detroit’s depleted backfield by lining up as a running back for three carries that gained 6 yards and as a decoy to help set up Stafford’s 17-yard TD pass to Theo Riddick.

Philadelphia had the ball at its 25 with 1:28 remaining and no timeouts left. Wentz, who did not turn the ball over in his first three games, attempted a long pass to Nelson Agholor on first down and Slay made the game-sealing interception at the Detroit 23.

Wentz, the No. 2 pick overall in the draft, was 25-of-33 for 238 yards with a pair of 1-yard TD passes to Ryan Matthews and Josh Huff.

Redskins 16, Ravens 10

Baltimore — The Redskins used an 85-yard punt return by Jamison Crowder and an uncharacteristically strong performance by their defense to beat the Ravens.

It was the third straight win for the Redskins (3-2), who came in with the league’s 29th-ranked defense. Washington allowed a touchdown on the game’s opening drive and smothered the Ravens (3-2) the rest of the way.

The game wasn’t decided until the final minute, when an apparent 23-yard touchdown catch by Baltimore’s Breshad Perriman was overturned by replay. Perriman got his right foot down in the end zone, but his left foot was out of bounds.

Cowboys 28, Bengals 14

Arlington, Texas — Ezekiel Elliott ran for 134 yards and two touchdowns, fellow rookie Dak Prescott threw for a score and ran for another TD, and the Cowboys beat the Bengals.

Prescott had his first turnover in five games starting in place of injured Tony Romo, a fumble when being sacked late in the third quarter. But Prescott extended his NFL rookie record to 155 passes without an interception to start his career. He completed 18 of 24 passes for 227 yards.

Elliott, on only 15 carries, became the first Cowboys rookie with three consecutive 100-yard rushing games.

Falcons 23, Broncos 16

Denver (AP) — Matt Ryan and the Atlanta Falcons didn’t need another 300-yard performance from Julio Jones to decipher Denver’s dazzling defense and wreck Paxton Lynch’s first NFL start.

Using a steady dose of I-formation runs and short passes that put Denver’s linebackers in coverage, the Falcons (4-1) handed the Super Bowl champs their first loss since Dec. 20 at Pittsburgh and left the Minnesota Vikings (5-0) as the NFL’s last unbeaten team.

The Broncos (4-1) were on their heels having to respect the play-action because Devonta Freeman and Tevin Coleman were so effective running the ball, combining for 119 yards and a 4.4-yard average.

Steelers 31, Jets 13

Pittsburgh — Ben Roethlisberger passed for 380 yards and four touchdowns and the surging Steelers pulled away in the second half for a win over the Jets.

Sammie Coates caught six passes for a career-high 139 yards and two scores, including a 72-yard catch-and-run for a score on Pittsburgh’s opening drive as the Steelers moved the ball at will against a secondary missing injured star Darrelle Revis.

Steelers running back Le’Veon Bell racked up 154 yards of total offense, including a career-high nine receptions, while Antonio Brown caught nine passes for 78 yards and a touchdown. The All-Pro receiver, who has been fined on multiple occasions this season for crossing the line during his celebratory dances, simply handed the ball to a fan in the stands.

Bills 30, Rams 19

Los Angeles — Nickell Robey-Coleman returned an interception 41 yards for a touchdown, LeSean McCoy rushed for 150 yards, and the Bills won their third consecutive game by defeating the Rams.

Robey-Coleman stepped in front of rookie receiver Pharoh Cooper and strolled down the sideline to put the Bills (3-2) ahead 23-16 with 3:54 left in the third quarter.

The big play allowed the Bills to finish off the Rams (3-2) and end their three-game winning streak. Robey-Coleman added another interception in the final minutes.

Raiders 34, Chargers 31

Oakland, Calif. — Derek Carr threw a go-ahead 21-yard touchdown pass to Michael Crabtree on a fourth-and-2 gamble and added another TD pass to Amari Cooper to lead the Raiders to a victory over the mistake-prone Chargers.

San Diego (1-4) committed four turnovers and then botched the hold on a potential tying field goal. Rookie Drew Kaser couldn’t hold the snap on what would have been a 36-yard field goal attempt.

The Raiders (4-1) took over with 2 minutes left and ran out most of the clock to get a third straight win for the first time in five years and hand San Diego its 10th straight division loss.

Titans 30, Dolphins 17

Miami Gardens, Fla. — Marcus Mariota threw for three touchdowns and ran for another score, helping the Titans overcome a handful of big plays by the Dolphins.

Mariota bounced back with a strong game after totaling three interceptions and no TD passes in losses the past two weeks. He went 20 for 29 for 163 yards with no interceptions, and ran seven times for 60 yards.

Vikings 31, Texans 13

Minneapolis — Adam Thielen caught a touchdown pass to cap Minnesota’s opening drive and finished with a career-high 127 yards, and the Vikings defense flustered Brock Osweiler and the Texans.

Marcus Sherels returned a punt 79 yards for a touchdown and Cordarelle Patterson scored on another sharp throw by Sam Bradford, who produced another turnover-free game and deftly guided the Vikings (5-0) into their bye week.

Colts 29, Bears 23

Indianapolis — Andrew Luck threw a 35-yard TD pass to T.Y. Hilton with 3:43 left to lead the Colts past the Bears. It’s the first time the Colts (2-3) defeated the Bears in Indianapolis.

After hearing a clamoring for changes all week, Indy went to the hurry-up offense and Luck made the alterations look good early and late.

Packers 23, Giants 16

Green Bay, Wis. — Aaron Rodgers threw two touchdowns passes in an otherwise choppy night for the Green Bay offense, and the Packers’ defense rattled New York and limited Odell Beckham Jr.

Rodgers was 23-of-45 for 259 yards and also threw two interceptions. Jordy Nelson and Davante Adams each had highlight-reel touchdown catches to help the Packers build an 11-point halftime lead.

But the offense was mired by uncharacteristic drops, and couple of big plays were called back by penalties. Mason Crosby kicked three field goals, including two in the fourth quarter.

New York’s Eli Manning was 18-of-35 for 199 yards, and the Packers pressured him much of the night.