DETROIT, Mich. (AP) - 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.
Matthew 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.
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, heaved a pass to Nelson Agholor on first down and Slay made the game-sealing interception at the Detroit 23.
The Lions scored on all three of their drives in the first half, building a 21-7 lead late in the second quarter.
Stafford threw two TD passes to Theo Riddick in the first quarter and another to Marvin Jones in the second. The Eagles hadn't given up a passing touchdown, a point in the first quarter or allowed offenses to combine to score three TDs through three games.
Eagles defensive coordinator Jim Schwartz, who led the Lions from 2009 to 2013, seemed to make some adjustments.
The Lions gained just 19 yards on the first four possessions, fumbling once and punting three times.
Philadelphia, meanwhile, opened the second half with Wentz capping a nine-play, 75-yard drive with a 1-yard TD pass to Josh Huff.
Stafford's unforced fumble on the ensuing drive was recovered by Nigel Bradham, who was arrested last Sunday on a misdemeanor concealed weapons charge, at the Lions 16.
The Lions held Philadelphia to a field goal, allowing them to cling to a 21-20 lead.
Caleb Sturgis' 49-yard field goal, his third, put the Eagles ahead for the first time with 6:45 left, but they couldn't hold on.
INJURIES: Eagles CB Leodis McKelvin returned after missing the last two games with a hamstring injury, aggravated it, but was cleared to return in the fourth quarter. ... Lions DT Haloti Ngata left the game with a shoulder injury.
UP NEXT: The Eagles play at Washington Sunday. The Lions host Los Angeles on Sunday.
Game highlights coming up on FOX 29 News at 6.
Philadelphia 0 10 10 3--23
Detroit 14 7 0 3--24
Det--Riddick 1 pass from Stafford (Prater kick), 9:37.
Det--Riddick 17 pass from Stafford (Prater kick), :53.
Phi--Mathews 1 pass from Wentz (Sturgis kick), 10:21.
Det--M.Jones 1 pass from Stafford (Prater kick), 3:08.
Phi--FG Sturgis 50, :00.
Phi--Huff 1 pass from Wentz (Sturgis kick), 9:18.
Phi--FG Sturgis 33, 6:47.
Phi--FG Sturgis 49, 6:40.
Det--FG Prater 29, 1:28.
First downs 18 21
Total Net Yards 346 244
Rushes-yards 21-116 27-80
Passing 230 164
Punt Returns 1-6 0-0
Kickoff Returns 1-17 2-33
Interceptions Ret. 0-0 1-11
Comp-Att-Int 25-33-1 19-25-0
Sacked-Yards Lost 3-8 4-16
Punts 2-38.0 3-53.0
Fumbles-Lost 2-1 1-1
Penalties-Yards 14-111 2-18
Time of Possession 29:36 30:24
RUSHING--Philadelphia, Sproles 5-45, Mathews 11-42, Wentz 2-14, Huff 2-10, Agholor 1-5. Detroit, Riddick 11-49, Stafford 6-16, Zenner 7-9, Tate 3-6.
PASSING--Philadelphia, Wentz 25-33-1-238. Detroit, Stafford 19-25-0-180.
RECEIVING--Philadelphia, Mathews 5-33, Matthews 4-65, Sproles 4-23, Green-Beckham 3-43, Ertz 3-37, Huff 3-5, Agholor 2-27, T.Burton 1-5. Detroit, Riddick 6-33, Boldin 4-48, M.Jones 4-37, Tate 3-39, Zenner 2-23.
MISSED FIELD GOALS--None.
Eagles: WR Bryce Treggs, S Terrence Brooks, DE Steven Means, OL Josh Andrews, OL Dillon Gordon, OL Halapoulivaati Vaitai, OL Isaac Seumalo.
Lions: TE Eric Ebron, LB DeAndre Levy, DE Ezekiel Ansah, RB Dwayne Washington, OL Joe Dahl, T Cornelius Lucas.