OAKLAND, Calif. — Domingo Germán of the New York Yankees pitched the 24th perfect game in major league history Wednesday night, retiring all of Oakland’s batters in an 11-0 win over the A’s.

It was the first perfect game since Seattle Mariners ace Félix Hernández threw one against the Tampa Bay Rays on August 15, 2012. There were three that season, and none since Germán finished the first no-hitter in Major League Baseball this year.

After a couple of terrible starts, Germán struck out nine against the A’s, who have the worst record in the majors.

The 30-year-old right-hander had never pitched a complete game in the majors before. He’s winless in six previous outings against Oakland.

He joined Don Larsen (1956), David Wells (1998) and David Cone (1999) as Yankees pitchers in throwing perfect games. Larsen’s gem came in Game 5 of the 1956 World Series against the Brooklyn Dodgers.

Germán threw 72 of 99 pitches for strikes, mixing in 51 curveballs and 30 fastballs that averaged 92.5 mph with 17 changeups and a sinker.