SAN FRANCISCO (AP) — Manny Machado put the San Diego Padres ahead with his third home run of the season in a 3-1 win over the San Francisco Giants on Wednesday.

Signed to a $300 million, 10-year contract, Machado broke a 1-1 tie in the sixth inning with an opposite-field drive to right on a fastball from Dereck Rodríguez (1-2). Machado went 1 for 4 and is hitting .244 with six RBIs.

Wil Myers added a run-scoring single in the ninth off Will Smith, and the Padres won for the fifth time in seven games.

Nick Margevicius (1-1) got his first major league win. Making his third start, the 23-year-old left-hander allowed one run and five hits in six innings with no walks and six strikeouts, including his last four hitters.

He retired his first nine batters before a home run by Kevin Pillar, who has nine RBIs in his last three games. Right-handed hitters were 1 for 27 against Margevicius before the homer.

Aside from a playoff game last season with Double-A San Antonio, Margevicius had not pitched above Class A before making his major league debut on March 30 against the Giants. He singled in the fifth for his first big league hit.

Kirby Yates pitched the ninth to remain perfect in seven save chances and finish a seven-hitter. Brandon Crawford walked with one out and Evan Longoria doubled. Yates struck out Yangervis Solarte and retired Brandon Belt on a game-ending popup to Machado at third.

Rodríguez gave up two runs and four hits in seven innings as San Francisco lost for the sixth time in eight games. The Giants are 0-4 in series this year, including two against the Padres.

Manuel Margot put San Diego ahead with a run-scoring single in the second.

Tyler Austin started in left field for San Francisco, the first time he played there since Sept. 17, 2016, for the New York Yankees. He was 1 for 3 with two strikeouts.


Padres: Had not announced a starter for Thursday’s series opener in Arizona.

Giants: RHP Jeff Samardzija (0-0, 2.79) is to start Thursday against visiting Colorado. The 34-year-old is 4-6 with a 4.00 ERA in 13 starts and four relief appearances against the Rockies.

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