SAN DIEGO (AP) — Rhys Hoskins homered twice in his return from the injured list and Kyle Gibson pitched eight fantastic innings as the Philadelphia Phillies beat San Diego 7-4 on Sunday, knocking the skidding Padres out of playoff position.

Odubel Herrera went 4 for 5 with a home run and three RBIs to help the second-place Phillies remain five games behind Atlanta in the NL East.

READ MORE: Father Of 18-Year-Old Killed In Sand Collapse On Toms River Beach Shares Message Remembering Son

San Diego has lost nine of 11 and dropped a game behind Cincinnati in the race for the second NL wild card. The Reds beat Miami 3-1 to complete a four-game sweep.

Hoskins, placed on the injured list Aug. 10 with a left groin strain, hit a solo shot to straightaway center field off reliever Ryan Weathers (4-6) in the fourth and and another long drive to left in the fifth against Miguel Diaz. Despite missing time, the first baseman leads the Phillies in home runs (26) and RBIs (70).

READ MORE: PPA Adding Patrols To Monitor Illegally Parked Cars In Bike Lanes Amid Growing Number Of Bicyclists Killed In Philly

Gibson (9-5) gave up one run and six hits.

He worked out of jams in each of the first three innings and then cruised for the next five.

MORE NEWS: Dirt Bike Rider Wanted In Hit-And-Run That Left Teenager Dead, Philadelphia Police Say

(© Copyright 2021 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)