PITTSBURGH (AP) — MJ Devonshire returned a tipped pass 56 yards for a touchdown with 2:58 remaining and No. 17 Pittsburgh beat West Virginia 38-31 on Thursday night in the return of the Backyard Brawl.

The Panthers edged their rivals for the first time since 2008 after a pass by West Virginia’s JT Daniels smacked off the hands of Bryce Ford-Wheaton and into the hands of Devonshire, who weaved his way through traffic to give Pitt its second touchdown in 43 seconds to turn a seven-point deficit into a lead it wouldn’t relinquish.

The Mountaineers drove deep into Pitt territory in the final minute and Daniels hit Reese Smith on a fourth-down fling that appeared to bring the ball to the Pitt 1. Briefly anyway. Replays showed the ball skimmed the turf before Smith could bring it in and the crowd of 70,622 — the largest to attend a sporting event in the city’s history — erupted.

Southern California transfer Kedon Slovis threw for 308 yards and a touchdown in his debut with the Panthers in the opener for both teams. Rodney Hammond ran for 74 yards and two touchdowns before leaving in the fourth quarter because of a right leg injury that appeared serious.

Daniels, looking to revive his career following stints at USC and Georgia, completed 24 of 40 passes for 241 yards with two touchdowns to Ford-Wheaton and the pick that Devonshire turned into Pitt’s first victory over its longtime rivals since 2008.

Freshman running back CJ Donaldson ran for 125 yards for West Virginia as the Mountaineers piled up 190 yards on the ground. Yet fourth-year coach Neal Brown didn’t feel confident enough in his running game to go for it on fourth-and-1 at the Pitt 48 midway through the fourth quarter and his team up 31-24.

Daniels lined up in an effort to draw the Panthers offside and when he didn’t, the Mountaineers punted.

Pitt didn’t waste the opportunity. Slovis led the defending ACC champions 92 yards in seven plays, the last on a flip to running back Israel Abanikanda in which he slipped through three tackles for a 24-yard touchdown.

Four plays later Daniels’ pass to a wide-open Ford-Wheaton — a third-generation player for the Mountaineers — settled into the hands of Devonshire, who provided the exclamation point in the return of the 127-year-old series following a decade-long hiatus.

THE TAKEAWAY

West Virginia: Brown likely needs the Mountaineers to take a step forward in 2022. While Daniels definitely appears like an upgrade at quarterback, his coach continues to be snake-bit in tight games. His inability to trust an offensive line that held its own against a defensive front that expects to be among the best in the ACC if not the country was curious and ultimately, costly.

Pitt: The Panthers are aiming even higher than the ACC crown the claimed last winter. The schedule is user-friendly and while Slovis needed time to get warmed up, he did a fairly solid impression of former Pitt star Kenny Pickett, who helped unfurl the ACC championship banner he led the Panthers to in 2021 on his way to being a Heisman Trophy finalist and a first-round NFL draft pick.

POLL IMPLICATIONS

The Panthers will stick in the poll for a second straight week and could rise a bit depending on results elsewhere this weekend.

UP NEXT

West Virginia: The Mountaineers open Big 12 play at home on Sept. 10 against Kansas. West Virginia has won eight straight against the Jayhawks.

Pitt: The Panthers welcome Tennessee on Sept. 10. Pitt edged the Volunteers 41-34 in Knoxville last September.

___

More AP college football: https://apnews.com/hub/college-football and https://twitter.com/AP_Top25 Sign up for the AP’s college football newsletter: https://apnews.com/cfbtop25.