Domingo German pitched the fourth perfect game in New York Yankees history Wednesday night, retiring 27 Athletics in order in an 11-0 victory at Oakland Coliseum.

When Esteury Ruiz hit the right-hander's 99th pitch of the night sharply to Yankees third baseman Josh Donaldson, German became the first to throw a perfect game in MLB since Felix Hernandez against the Tampa Bay Rays on Aug. 15, 2012.

German (5-5) etched his name in Yankees lore alongside three others who threw perfect games: Don Larsen in Game 5 of the 1956 World Series against the Brooklyn Dodgers; David Wells on May 17, 1998, against the Minnesota Twins; and David Cone on July 18, 1999, against the Montreal Expos.

"So exciting when you think about something very unique in baseball," German said through an interpreter. "Not many people have an opportunity to pitch a perfect game. To accomplish something like this in my career is something I'm going to remember forever.

"That last inning was very different. I felt an amount of pressure I've never felt before. I tried to visualize what I want to execute there, but at the same time, I don't want to miss. So much pressure, but yet so rewarding."

The no-hitter was the 13th in Yankees history and the first since Corey Kluber blanked the Texas Rangers on May 19, 2021.

The last no-hitter in the majors came in Game 4 of last year's World Series by four Houston Astros pitchers against the Philadelphia Phillies.

The most recent regular-season no-hitter was another combined job by three Astros on June 25, 2022, against the Yankees. The Los Angeles Angels' Reid Detmers tossed the most recent solo no-hitter, against the Rays on May 10, 2022.

The A's, meanwhile, were no-hit for the 15th time in their history and for the first time since the combined effort of Bob Milacki, Mike Flanagan, Mark Williamson and Gregg Olson of the Baltimore Orioles on July 13, 1991.

German, who had never pitched a shutout or a complete game in his six-year career, struck out nine, two shy of his career high.

"Unfortunately, two days ago an uncle of mine passed away," German said. "I cried a lot yesterday in the clubhouse. You know, I had him with me throughout the whole game. I was thinking about him ... and it happened. This game is a tribute to him.

"He would have been so happy. He was always someone that really brought a joy to our family, and it happened for him to watch it this way, from up there (in heaven)."

The 30-year-old Dominican right-hander is less than a month removed from serving a 10-day suspension for violating MLB's policy on grip-enhancing substances.

There was almost no way to predict German's perfect outing, considering he was hammered in each of his past two starts, giving up a total of 17 runs — 15 earned — on 15 hits in 5⅓ innings.

A's starter JP Sears matched German with dueling no-hitters through three innings before Giancarlo Stanton homered with two outs in the fourth. It was Stanton's seventh homer of the season.

The Yankees broke the game open and put everyone's focus on German's feat with a six-run fifth inning that extended the lead to 7-0.

Errors by Sears and A's first baseman Ryan Noda contributed to the Yankees' uprising, which also featured a two-run single by Stanton and RBI hits by Kyle Higashioka, Anthony Volpe, DJ LeMahieu and Isiah Kiner-Falefa.

Sears was pulled six batters into the inning after failing to retire any of them. He was charged with seven runs (five earned) on five hits in four-plus innings, with three walks and five strikeouts.

The Yankees padded their lead on a Josh Donaldson sacrifice fly in the seventh. He later added an RBI double as part of a three-run ninth.

Stanton finished with two hits and three RBIs for the Yankees, who dropped the series opener 2-1 on Tuesday night. Harrison Bader and Volpe chipped in with two hits apiece, while Donaldson and Kiner-Falefa had two RBIs each.

The Yankees won for the third time in four games. The A's fell to 2-11 since winning seven straight earlier this month.