NEW YORK -- New York Yankees pitcher Domingo German has voluntarily entered inpatient treatment for alcohol abuse, the team announced Wednesday.

German, who threw a perfect game at Oakland in late June, was placed on the restricted list two days before his 31st birthday.

"It is critical that Domingo completely focuses on addressing his health and well-being," the Yankees said in a statement. "We will respect his privacy as he begins this process."

German is 5-7 with a 4.56 ERA in 19 starts and one relief appearance this season. He was scratched from his scheduled start Monday night against Tampa Bay, with the Yankees saying it was because of armpit discomfort. The right-hander then entered in relief and tossed five scoreless innings of two-hit ball.

Since arriving in the majors six years ago, German has had trouble on and off the field. He served a 10-game suspension in May after getting ejected from a game in Toronto for using an illegal sticky substance on the mound. He was also banned 81 games by Major League Baseball earlier in his career over an alleged domestic violence incident.

He's also been brilliant at times for the Yankees, including June 28 in an 11-0 victory over the Athletics when he pitched the 24th perfect game in big league history -- and first since 2012.

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

German became the first pitcher from the Dominican Republic to throw a perfect game. He called the game a tribute to his uncle, who died two days earlier, leaving German crying in the clubhouse.

German went 18-4 in 2019 with the Yankees but was put on administrative leave late that season while MLB investigated an alleged domestic violence incident involving his girlfriend.

He missed the entire pandemic-shortened 2020 season and playoffs while serving an 81-game suspension, then met face-to-face with Yankees teammates and made a public apology at spring training when he returned to the club in February 2021.

It's the second time in eight years that a Yankees starting pitcher has entered treatment for alcohol abuse during the season. CC Sabathia left the team in October 2015 to check into a rehab center just before New York's playoff loss to Houston in the AL wild-card game.