TORONTO — With key relievers Dellin Betances and Andrew Miller both unavailable, the New York Yankees were counting on a solid outing from starter Masahiro Tanaka.

He gave them that, and kept right on going.

Tanaka pitched a five-hitter for his first complete game in more than a year, leading the Yankees over the Toronto Blue Jays 4-1 Saturday.

“Just an unbelievable job by Masahiro,” Manager Joe Girardi said.

The Yankees won their third straight following a five-game skid and extended their AL East lead over Toronto to 11/2 games. The Blue Jays, coming off an 11-game winning streak, lost for the second day in a row to New York.

Carlos Beltran, who hit a big home run Friday night at Rogers Centre, and Mark Teixeira hit solo shots to back Tanaka (9-5).

“We’re happy,” Beltran said. “They went to our home (last weekend) and they took three out of three. Right now we have the opportunity to do that.”

Pitching in Toronto for the first time since his big league debut in April 2014, Tanaka struck out eight and walked three while helping the Yankees’ taxed bullpen.

“My mindset was I wanted to go as deep into the game as possible,” Tanaka said through a translator. “I’m just really satisfied that I was able to do that.”

Marco Estrada (10-7) lost for the first time in four starts, allowing two runs and three hits in six innings.

ORIOLES 4, ATHLETICS 3: Chris Davis hit two home runs, the second a tiebreaking shot with two outs in the bottom of the ninth inning off switch-pitcher Pat Venditte, to give Baltimore a win at home.

Davis connected on a 2-2 offering from Venditte (0-1), the first ambidextrous pitcher in the majors since 1995. Venditte was recalled from Triple-A Nashville before the game.

ROYALS 9, ANGELS 4: Salvador Perez homered to lead off a six-run second inning, and Johnny Cueto won his second consecutive start for host Kansas City.

Cueto (9-7) allowed a run and eight hits over eight innings, striking out four without a walk.

TWINS 4, INDIANS 1: Tyler Duffey took a no-hit bid into the sixth inning of his second big league game for host Minnesota.

Duffey, roughed up by Toronto earlier this month, gave up only a one-out double by Francisco Lindor in the sixth before leaving at the end of the inning.

NATIONAL LEAGUE

CUBS 6, WHITE SOX 3: Jake Arrieta pitched into the seventh inning and Cubs won their ninth straight to match their longest streak in seven seasons, beating the crosstown White Sox at U.S. Cellular Field.

The Cubs matched their longest streak since they reeled off nine in a row during the 2008 NL Central championship season and made it 15 wins in 16 games.

Arrieta (14-6) improved to 8-1 in his past 11 starts, allowing three runs and five hits in 62/3 innings.

CARDINALS 6, MARLINS 2: John Lackey was dominant into the ninth inning and gave host St. Louis an unexpected bonus with two hits and an RBI against Miami.

Mark Reynolds’ three-run homer in the sixth put the Cardinals ahead by four and Randal Grichuk hit his 15th homer in the first.

DIAMONDBACKS 8, BRAVES 4: Patrick Corbin (3-3) continued to gain momentum in his return from Tommy John surgery, allowing only three hits and no runs while pitching into the seventh as Arizona won at Atlanta.

David Peralta drove in three runs on two hits, including a fourth-inning homer off Mike Foltynewicz (4-4).

BREWERS 4, PHILLIES 2: Scooter Gennett had a career-high four hits, Jimmy Nelson pitched into the seventh and Milwaukee won at home.