PITTSBURGH (AP) – Starling Marte hit a game-ending three-run homer in the 13th inning, rallying the Pittsburgh Pirates past Oakland 5-3 on Sunday after the Athletics scored twice in the top of the inning.

Cole Tucker started Pittsburgh’s comeback with a one-out single off Fernando Rodney (0-2). Jung Ho Kang walked and Adam Frazier drove in Tucker with a single before Marte drilled a ball out to center.

Tyler Lyons (1-0) got the win despite struggling in his Pirates debut. After pitching a 1-2-3 12th, he walked the first two batters in the 13th and allowed an RBI single to Kendrys Morales and a run-scoring double to Stephen Piscotty before getting pitcher Yusmeiro Petit to hit into an inning-ending double play.

A’s slugger Khris Davis, last year’s major league home run leader, left in the second inning with a left hip bruise after crashing into the left field wall chasing a popup.

The Pirates improved to 6-2 in extra-inning games and 6-1 in interleague play. They are above .500 at 16-15 for the first time since April 25.

Pittsburgh starter Jordan Lyles gave up one run and five hits over 6 2/3 innings. Lyles looked more like the pitcher that began the season tossing 11 scoreless innings in his first two home starts and less like the one holding a 6.00 ERA over his previous two outings.

The teams were tied 1-1 going into extras. Pittsburgh got on the board in the second when Josh Bell doubled and scored on Colin Moran’s sacrifice fly. A’s pinch-hitter Robbie Grossman tied it in the seventh with a single.

Lyles faced a jam in the fifth after he walked three consecutive batters with two outs but forced Ramon Laureano to ground into a forceout at second.

The Pirates had a golden opportunity with runners on first and third with zero outs in the sixth but couldn’t capitalize as Gregory Polanco flied out, Bell struck out and Melky Cabrera lined out to end the inning.

Oakland starter Frankie Montas allowed a run and five hits over six innings. He struck out five while lowering his ERA to 2.75.

TRAINER’S ROOM

Pirates: Keone Kela was not available to pitch after exiting Saturday’s game with right shoulder tightness. General manager Neal Huntington said Kela will be evaluated Monday.

UP NEXT

Athletics: The A’s return home for a three-game series against Cincinnati on Tuesday, where Mike Fiers (2-3, 6.81) will take the mound coming off a solid seven-inning outing against Toronto on April 26.

Pirates: Steven Brault will get the start Tuesday against Texas in place of Jameson Taillion, who was ruled out for a month Saturday with an elbow flexor tendon strain. This season, Brault has an 8.31 ERA with 11 strikeouts over 8 2/3 innings of work out of the bullpen.

___

(Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)