The Associated Press

WASHINGTON — Now this is what the Washington Nationals were looking for when they plunked down $140 million to add Patrick Corbin to the rotation.

Corbin took a one-hitter into the eighth inning to earn his first win with Washington, and the Nationals beat the punchless San Francisco Giants 4-2 Thursday in the deciding matchup of a three-game series.

Signed to a six-year contract in December after pitching for six seasons in Arizona, Corbin started three games without a decision with his new team. In this one, the Nationals staked him to an early lead that he easily made stand up.

“It feels great to get my first win here as a Nat,” the lefty said. “It seemed like every inning I was able to make pitches and get ahead of guys.”

Corbin (1-0) struck out nine, walked one and a hit a batter over 72⁄3 innings against a struggling San Francisco offense that came in with a .208 average. The lone hits against the 29-year-old were a fifth-inning double by Evan Longoria and a two-out RBI double by Erik Kratz in the eighth.

After Kratz broke up the shutout, Corbin exited to cheers from most of the 26,085 fans at the weekday afternoon game in the nation’s capital.

“I still felt strong at the end,” he said.

Kyle Barraclough entered and retired pinch-hitter Buster Posey. Sean Doolittle worked the ninth, giving up three hits and a run while earning his second save.

The Giants had problems with Corbin’s fastball and the strike zone of plate umpire Ryan Additon. San Francisco manager Bruce Bochy was tossed in the fifth inning and left fielder Brandon Belt was ejected in the seventh after he threw down his helmet in disgust over a called third strike.

Also Thursday:

Mariners 11, Angels 10: ANAHEIM, Calif. — Jay Bruce delivered a tiebreaking pinch-hit RBI single in the ninth, and Seattle blew a late eight-run lead before rallying for an 11-10 victory over Los Angeles. Former Oregon Duck Ryon Healy homered twice and drove in five runs.

Diamondbacks 4, Braves 1: ATLANTA — Christian Walker continued his remarkable late-innings production with a two-run homer in the seventh, Luke Weaver got Arizona off to a good start and the Diamondbacks completed a three-game sweep.

Blue Jays 7, Twins 4: MINNEAPOLIS — Randal Grichuk, Justin Smoak and Teoscar Hernandez homered to lead Toronto.

Tigers 9, White Sox 7: DETROIT — Nicholas Castellanos had three hits and drove in a pair of runs and Detroit ended a five-game losing streak.

Royals 6, Yankees 1: NEW YORK — Homer Bailey won consecutive starts for the first time since July 2017, holding New York to three hits over six innings for Kansas City.

Dodgers 3, Brewers 1: MILWAUKEE — Cody Bellinger hit his 10th home run, Max Muncy hit a two-run shot, and Julio Urias struck out a career-high nine and allowed one hit in six strong innings as Los Angeles extended its winning streak to five games.

Orioles 6, Rays 5: ST. PETERSBURG, Fla. — Joey Rickard drove in the winning run in the 11th inning with an RBI double, his fourth hit of the game, to lift Baltimore.

Rockies 6, Phillies 2: DENVER — Ryan McMahon homered twice and had five RBIs in his return to the lineup and Kyle Freeland pitched six scoreless innings in Colorado’s win over Philadelphia.

Reds 4, Padres 1: SAN DIEGO — Joey Votto hit his first career leadoff homer and Tucker Barnhart and Jesse Winker also connected as Cincinnati snapped a four-game losing streak.