Shota Imanaga pitched one-run ball into the eighth inning in Chicago’s home opener at Wrigley Field, and the Cubs handed San Diego its first loss with a 3-1 victory over the Padres on Friday.

Imanaga (2-0) allowed four hits in 7 1/3 innings in his second straight win. The Japanese left-hander has permitted two runs and seven hits in 18 1/3 innings over his first three starts this year.

Ian Happ had two hits and scored two runs as Chicago improved to 6-2 since it dropped its first two games in Tokyo against the Dodgers.

San Diego had opened the season with seven consecutive victories for the best start in franchise history.

Martín Maldonado homered for the Padres in the third, tying it at 1. But the Cubs scored twice in the fifth after Randy Vásquez (0-1) retired the first two batters.

With the bases loaded after a pair of walks, pinch-hitter Justin Turner greeted Yuki Matsui with a hard grounder to Xander Bogaerts. The shortstop threw from his knees as he tried for the forceout at second, but Seiya Suzuki was safe and Happ came home with the tiebreaking run.

Kyle Tucker scored when Manny Machado committed an error on Dansby Swanson’s grounder to third.

Braves 10, Marlins 0: Spencer Schwellenbach carried a perfect game into the fifth inning, Marcell Ozuna and Matt Olson hit back-to-back homers in the seventh and Atlanta beat visiting Miami for its long-awaited first win.

Ozuna drove in three runs with three hits. Olson drove in three runs with two hits.

The Braves won their home opener to end a seven-game winless drought, their worst start since losing their first nine in 2016.

Schwellenbach (1-0) retired Miami’s first 14 batters before Liam Hicks hit a bloop single to left field with two outs in the fifth. The right-hander allowed two hits with no walks and 10 strikeouts in eight innings.

Giants 10, Mariners 9 (11): Willy Adames hit a winning two-run single with two outs in the 11th inning, sending San Francisco over Seattle in its home opener to extend its winning streak to five.

Luke Raley had given Seattle a 9-8 lead when he scored on Spencer Bivens’ wild pitch with two outs in the top half.

Adames, playing his first home game after joining the Giants with a $182 million, seven-year contract, hit a slider to the opposite field in right off Carlos Vargas (0-1).

Julio Rodríguez homered in the first inning off Justin Verlander, who retired just seven batters in his home debut after the 42-year-old signed a $15 million, one-year contract in January.

Yankees 9, Pirates 4: Aaron Judge marked his 1,000th game by hitting his sixth homer of the season and New York spoiled Pittsburgh’s home opener.

Judge’s shot to the seats in right-center in the seventh off Tim Mayza boosted his career total to 321, the most by a player through his first 1,000 games.

Oswaldo Cabrera went 3 for 4 with four RBIs as the Yankees gave Max Fried (1-0) more than enough run support for the left-hander to collect his first Yankees win. Fried allowed one run and six hits with a walk and six strikeouts in 5 2/3 innings.

Mets 5, Blue Jays 0: Pete Alonso hit a two-run homer, Juan Soto added an RBI double in his home debut at Citi Field and New York blanked Toronto.

Tylor Megill (2-0) pitched two-hit ball over 5 1/3 innings and the bullpen took it from there as the Mets ended Toronto’s four-game winning streak.

Diamondbacks 6, Nationals 4: Corbin Carroll homered twice, pinch-hitter Randal Grichuk hit a tiebreaking double in the seventh, and Arizona won at Washington.

Red Sox 13, Cardinals 9: Rafael Devers reached base four times in his return to Boston after a season-opening slump and Alex Bregman had two hits in his first home game at Fenway Park to help the Red Sox beat St. Louis.

The Red Sox began their 125th home opener by scoring five runs in the first inning, including back-to-back homers by Trevor Story and Wilyer Abreu.

Walker Buehler (1-1) allowed five runs and seven hits in five innings as Boston won its third straight.