The Associated Press

BALTIMORE — It all seemed rather surreal, watching Asher Wojciechowski head into the seventh inning working on a no-hitter.

After all, the 30-year-old journeyman had not won a major league game since 2017, came in with a 6.49 career ERA and was facing the highest-scoring team in the majors.

Alas, Wojciechowski lost his bid to make history when Rafael Devers opened the seventh with a double off the right-field wall. But the right-hander was more than delighted to finish with a shared one-hitter while helping the Baltimore Orioles beat the Boston Red Sox 5-0 Sunday.

After striking out 10 over 71⁄3 innings while completely dominating the defending World Series champions, Wojciechowski wore a huge smile.

“A day like that, when you’re throwing the pitches and they’re doing pretty much exactly what you want them to do, that’s what you dream for as a pitcher,” he said.

Also Sunday:

Angels 9, Mariners 3: SEATTLE — Resurgent slugger Albert Pujols and Mike Trout homered, Brian Goodwin connected twice and Los Angeles beat Seattle.

Phillies 2, Pirates 1: PITTSBURGH — A fan casually walked to home plate and approached Philadelphia hitter Brad Miller for a handshake before being apprehended, and the Phillies later beat the Pirates on Rhys Hoskins’ home run in the 11th inning.

Dodgers 9, Marlins 0: LOS ANGELES — Walker ­Buehler struck out 11 over seven innings and the Dodgers hit a trio of home runs to complete a three-game sweep of Miami.

Braves 7, Nationals 1: ATLANTA — Kevin Gausman pitched into the eighth inning after missing more than a month, Josh Donaldson and Ronald Acuna Jr. homered, and Atlanta beat Washington to protect its NL East lead.

Rockies 8, Yankees 4: NEW YORK — James Paxton allowed a leadoff home run for the second straight outing when Charlie Blackmon shook out of a slump and ignited Colorado to a win over New York that halted a six-game losing streak.

Cardinals 3, Reds 1: CINCINNATI — Yairo Munoz celebrated a rare start with a home run and a triple to help St. Louis beat Cincinnati.

Indians 5, Royals 4: CLEVELAND — Francisco Lindor homered after originally being scheduled to get the day off, Jose Ramirez hit a tiebreaking home run in the sixth and Cleveland beat Kansas City.

Tigers 4, Blue Jays 3: DETROIT — Nicholas Castellanos led off the bottom of the 10th inning with a home run, and Detroit snapped its six-game losing streak.

Rays 4, White Sox 2: ST. PETERSBURG, Fla. — Blake Snell struck out 10 in six scoreless innings, Travis d’Arnaud hit his first grand slam and Tampa Bay stopped its five-game losing streak by beating Chicago.

Astros 5, Rangers 3: HOUSTON — Michael Brantley homered twice, Jose Altuve also went deep and Houston beat struggling Texas for its fifth straight victory.

Twins 7, Athletics 6: MINNEAPOLIS — Max Kepler drove in four runs, including the game-winner, and Minnesota beat Oakland.

Padres 5, Cubs 1: CHICAGO — Francisco Mejia homered, Fernando Tatis Jr. drove in three runs and San Diego avoided the sweep in Chicago.

Giants 3, Mets 2: SAN FRANCISCO — Mike ­Yastrzemski homered with one out in the bottom of the 12th inning to give San Francisco a win over New York.

Brewers 7, Diamondbacks 4: PHOENIX — Tyler Saladino had his first career grand slam, Mike Moustakas hit a go-ahead single and Milwaukee beat Arizona.

23685164