New York Mets pitcher Kodai Senga earned his third win after getting through five innings in a 9-4 victory over the San Francisco Giants on Thursday.

Senga (3-0) yielded two solo homers in a four-run fifth inning that cut the Mets' lead to 5-4 at San Francisco's Oracle Park.

The right-hander allowed five hits, walked four and struck out four.

The Mets' Pete Alonso hit his MLB-leading ninth home run and drove in four runs.

"I'd like to thank my teammates (for the run support)," Senga said. "I wanted to pitch deeper into the game. As a starting pitcher, I haven't done well enough. The only positive is not losing games I pitch."

In other action, Boston Red Sox left fielder Masataka Yoshida had a pair of RBI singles and scored once in an 11-5 win over the Minnesota Twins.

Twins pitcher Kenta Maeda (0-3) exited his start after taking a line drive off his left ankle at the end of the second inning.

"My bone wasn't broken," he said. "It hurt to death. It was good to get an out. It was better than allowing a base hit by dodging the ball."

Maeda allowed a walk and one hit, Alex Verdugo's first-inning solo home run, before leaving trailing 1-0.

Two-way player Shohei Ohtani went hitless in three at-bats with a walk in the Los Angeles Angels' 9-3 loss to the New York Yankees.