Eric Hartline-USA TODAY Sports

Edmundo Sosa hit a tiebreaking solo home run, J.T. Realmuto added a two-run double and the host Philadelphia Phillies rallied for a 6-4 victory over the Baltimore Orioles on Wednesday.

Jake Cave contributed two hits and an RBI while Nick Castellanos and Bryce Harper each chipped in with an RBI single.

The Phillies have won two in a row after losing five of their previous six.

Phillies starter Ranger Suarez tossed six-plus innings and allowed seven hits and four runs with six strikeouts and one walk.

Seranthony Dominguez (2-2), who had missed the last five weeks with an oblique injury, earned the win in relief.

Gregory Soto threw a scoreless ninth inning to earn his second save in three chances.

Adley Rutschman homered and knocked in three runs and Austin Hays had two hits and an RBI for the Orioles, who have dropped two straight after winning five of their previous six.

Orioles starter Kyle Bradish (6-6) gave up seven hits and five runs with three strikeouts and two walks in 6 2/3 innings.

The Orioles had runners on first and second with one out in the third and Hays flied out to center. Rutschman followed with a three-run homer to left for 3-0 Orioles advantage. It was the 14th4 home run of the season for Rutschman.

Brandon Marsh walked to open the bottom of the third and advanced to second on a wild pitch with Cave at the plate. Cave responded with an RBI double and Castellanos added an RBI single later in the inning to close within 3-2.

In the fourth, Realmuto hit a two-run double and the Phillies regained a 4-3 lead.

Jordan Westburg doubled off the right field wall with two outs in the sixth. Cave then jumped and made a stellar catch crashing against the left field fence on a shot by Ramon Urias for the third out.

With a runner on third and two outs in the seventh, Hays hit an RBI single to left to equalize at 4.

Sosa lofted a solo homer to right with two outs in the bottom of the seventh, his seventh of the campaign, and Harper added an RBI single for a two-run Phillies lead.

More must-reads:

TODAY'S BEST
Do Oilers need more from Connor McDavid to get to Stanley Cup Final?
All-Rookie teams show gems available all over draft
The NBA has not witnessed this much parity in 50 years
Knicks expected to be 'aggressive' in upgrading their roster
Drew Bledsoe offers advice for Patriots rookie QB Drake Maye
2024 AFC revenge games: Brothers, 'Stefon Diggs Bowl' to take center stage
2024 NFC revenge games: Which game should Cowboys, others have circled?
How All-Star Race victory could turn Joey Logano's season around
Xander Schauffele's triumph could open the floodgates for his career
Anderson Silva, Chael Sonnen will finish off their trilogy in a boxing ring
Ranking the five best MLB free-agent signings of offseason
Veteran WR, former first-round pick announces NFL retirement
Oilers advance to West Final again after holding off Canucks in Game 7
Bengals star WR not expected to sign franchise tender before OTAs
Red Sox RHP diagnosed with ligament damage in elbow
Watch: Caitlin Clark shows off range with logo three, but Fever fall short
Former Dolphins receiving leader announces his retirement from NFL
Detroit Lions dominate PFF's top-25 players under 25
Hall of Famer, legendary Raiders offensive lineman dead at 86
Report: Cavs owner 'would never' trade Donovan Mitchell to this team

Want more Phillies news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.