Jayne Kamin-Oncea-USA TODAY Sports

Shohei Ohtani's bid for a no-hitter ended with two outs in the eighth inning, but the Los Angeles Angels' two-way player settled for eight scoreless innings in a 4-2 victory over the Oakland A's on Thursday night in Anaheim, Calif.

Oakland's Conner Capel singled to center on a 1-2 cutter with two outs in the eighth inning on Ohtani's 95th pitch of the night to break up the no-hitter. Dermis Garcia followed with a single, but Ohtani got out of the inning when he retired Shea Langeliers on a grounder to third.

Ohtani (15-8) began the game by walking A's leadoff hitter Tony Kemp on a full-count pitch before completely taking command of the A's lineup.

He struck out Vimael Machin before getting Sean Murphy to hit into an inning-ending double play to finish the first.

He followed that up by retiring the side in order in the second through seventh innings, including striking out the side in the fourth. In all, he struck out 10 and now has 213 strikeouts in 161 innings this season.

Ohtani, who lowered his ERA to 2.35, was replaced by reliever Aaron Loup to start the ninth inning, having made 108 pitches. It was the 10th time in his 27 starts this season that Ohtani threw 100 pitches or more. He has not had a complete game in his major league career.

Ohtani also went 2-for-4 at the plate, including an RBI single, and extended his career-best hitting streak to 14 games.

The Angels took the lead on A's starter Cole Irvin's (9-13) second pitch of the game, leadoff hitter Luis Rengifo hitting a fastball over the fence in left-center for a 1-0 lead.

Mike Trout followed with a double and scored on a single by Ohtani, putting the Angels up 2-0.

Taylor Ward's solo homer -- his 23rd homer of the season -- with one out in the third increased the Angels' lead to 3-0, and Max Stassi's home run leading off the sixth made it 4-0.

Oakland scored twice in the ninth inning against Loup and Ryan Tepera, who recorded the final out and earned his fifth save.

More must-reads:

TODAY'S BEST
Timberwolves chew up Nuggets to force Game 7
Rangers secure spot in conference finals after stunning third-period comeback over Hurricanes
Xander Schauffele makes history in first round of PGA Championship
Yankees' Hal Steinbrenner shares massive Juan Soto contract update
Steelers' Cameron Heyward addresses contract holdout
Knicks star ruled out for potential closeout game
Dodgers starter undergoes season-ending UCL surgery
Clemson’s Dabo Swinney gives smug response about not using transfer portal
Caitlin Clark's debut was most-watched WNBA game in more than 20 years
Watch: Chris Kreider's natural third-period hat trick shatters Hurricanes' comeback hopes
Veteran NFL safety will either play for this team or retire in 2024
Former Red Wings head coach linked to open NHL job
How Patriots' Drake Maye has already impressed Jacoby Brissett
LeBron James, Giannis Antetokounmpo, Stephen Curry among Forbes' highest-paid athletes for 2024
Steve Cohen addresses if Mets could again be trade-deadline sellers
Tiger Woods ruins strong first round with sloppy finish at PGA Championship
NFL responds to speculation about Chiefs schedule and Taylor Swift
Despite hopes for change, NASCAR championship weekend will return to Phoenix in 2025
Chiefs will achieve something not done since 1927 with 2024 schedule
Yankees' Aaron Judge comments on resurgence after bad slump