LOS ANGELES (AP) — James Kaprielian pitched two-hit ball over six innings, Matt Olson hit his 36th home run and the Oakland Athletics beat the Los Angeles Angels 3-1 Saturday night.

The A’s have won four consecutive games and seven of 10 in their race for the second AL wild card. They’re two games back of Toronto for the final postseason spot, with the Yankees also in the way.

READ MORE: Vehicle Crashes Into Restaurant Killing One, Injuring Five

Kaprielian (8-5) retired 18 of his 20 batters. He struck out five and walked none. He had been moved to the bullpen and didn’t find out he would be starting Saturday until after he’d played catch Friday.

“My mentality is the same, it didn’t really change anything,” Kaprielian said of pitching in relief or starting roles. “I probably threw more than I wanted yesterday because I didn’t know until after I played catch. At the end of the year, whatever (manager Bob Melvin) asks me to do, I’ll do. I just want to help this team win.”

The A’s scored three runs in the first inning to give Kaprielian an early cushion. Los Angeles’ Jose Rojas singled in the third and Jack Mayfield hit a double in the sixth. Other than those two hits, Kaprielian was in complete control.

Andrew Chafin earned his fifth save despite a shaky ninth. Chafin loaded the bases before second baseman Josh Harrison made an incredible leaping catch in the web of his glove for the final out.

“A guy we traded for going up and making that play, it’s big time,” Kaprielian said. “Winner’s win.”

Kaprielian rebounded after struggling his previous four starts in which he was he was 0-1 with an 8.10 ERA.

Jose Suarez (7-8) had a rough start with a three-run first — all on two outs — before settling down. He gave up six hits and struck out two in 5 2/3 innings.

READ MORE: 3 Found Dead In Balboa Island Home

Joe Maddon stopped him on the mound when he went to take him out of the game with a message.

“I told him, ‘Listen, you didn’t have your best everything but you got deep in this game and that’s a really good sign,”’ Maddon said. “I wanted him to take that away from his appearance.

Here’s a kid that pitched almost six innings against a really good ball club, did it based on a lot of guile and guts and the fact he’s turning into a big-league pitcher.”

In the seventh inning, there was a disputed call on the second out of what was ruled a double play. Reliever Deolis Guerra dived to the ground after he caught the ball and tagged first, and then the ball came out of his glove. The call was challenged and overturned for what was deemed not having control of the ball, even though he already appeared to have recorded the out.

When Melvin came out to argue, he got ejected, his fourth of the season.

Guerra and teammates, who were already celebrating the play in the dugout, had to come back out. Rojas singled in a run for the Angels’ first of the game, but Guerra got Max Stassi to strike out looking for the final out of the inning.

Kaprielian made his 21st start of the season, which is the most by an A’s rookie since 2017 when Jharel Cotton made 24 starts.

Shohei Ohtani was 2 for 4 with a run, and Rojas had two hits.

MORE NEWS: Drenching Rain Forces Alisal Fire Burn Area Residents In Santa Barbara County To Evacuate

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