Thairo Estrada #30 of the New York Yankees hit a homer off of Austin Pruitt #45 of the Tampa Bay Rays in the ninth inning at Tropicana Field on May 12, 2019 in St Petersburg, Florida. Julio Aguilar, Getty Images

May 12, 2019; St. Petersburg, FL, USA; Fans holds up lights on their phones as lights turn off inside the dome during the ninth inning between the Tampa Bay Rays and New York Yankees at Tropicana Field. Kim Klement-USA TODAY Sports

May 12, 2019; St. Petersburg, FL, USA; New York Yankees manager Aaron Boone (17) comes out of the dugout as the lights turn off inside the dome during the ninth inning between the Tampa Bay Rays and New York Yankees at Tropicana Field. Kim Klement-USA TODAY Sports

Home plate umpire Tony Randazzo, center, watches as Tampa Bay Rays pitcher Ryne Stanek, left, tumbles after trying to tag out New York Yankees' Luke Voit (45) in a collision at the plate during the eighth inning of a baseball game Sunday, May 12, 2019, in St. Petersburg, Fla. Voit scored on a wild pitch thrown by Stanek. Steve Nesius, AP

Home plate umpire Tony Randazzo, center, makes the call as Tampa Bay Rays pitcher Ryne Stanek, center, tumbles after trying to tag out New York Yankees' Luke Voit (45) in a collision at the plate during the eighth inning of a baseball game Sunday, May 12, 2019, in St. Petersburg, Fla. Voit scored on a wild pitch thrown by Stanek. Steve Nesius, AP

May 12, 2019; St. Petersburg, FL, USA; New York Yankees starting pitcher Masahiro Tanaka (19) celebrates with Yankees pitcher CC Sabathia (52) at the end of the first inning against the Tampa Bay Rays at Tropicana Field. Kim Klement-USA TODAY Sports

May 12, 2019; St. Petersburg, FL, USA; New York Yankees starting pitcher Masahiro Tanaka (19) looks on at the end of the second inning against the Tampa Bay Rays at Tropicana Field. Kim Klement-USA TODAY Sports

May 11, 2019; St. Petersburg, FL, USA; New York Yankees starting pitcher CC Sabathia (52) looks down in his hat while on the mound during the third inning against the Tampa Bay Rays at Kim Klement-USA TODAY Sports

May 11, 2019; St. Petersburg, FL, USA; Tampa Bay Rays catcher Travis d'Arnaud (37) and relief pitcher Yonny Chirinos (72) talk at the end of the third inning against the New York Yankees at Tropicana Field. Kim Klement-USA TODAY Sports

May 11, 2019; St. Petersburg, FL, USA; Tampa Bay Rays third baseman Yandy Diaz (2) reacts at home plate as New York Yankees catcher Gary Sanchez (24) looks on as he hits a home run during the third inning at Tropicana Field. Kim Klement-USA TODAY Sports

May 10, 2019; St. Petersburg, FL, USA;New York Yankees second baseman DJ LeMahieu (26) forces out Tampa Bay Rays right fielder Austin Meadows (17) and throws the ball to first base for a double play during the seventh inning at Tropicana Field. Kim Klement-USA TODAY Sports

New York Yankees second baseman DJ LeMahieu (26) is safe at home plate as Tampa Bay Rays starting pitcher Tyler Glasnow (20) attempts to tag him out during the first inning at Tropicana Field. Kim Klement, Kim Klement-USA TODAY Sports

New York Yankees second baseman DJ LeMahieu (26) is congratulated in the dugout as he scores a run during the first inning against the Tampa Bay Rays at Tropicana Field. Kim Klement, Kim Klement-USA TODAY Sports

The New York Yankees acquired first baseman Kendrys Morales from the Oakland A's Tuesday night.

The Yankees, who also received cash considerations, will be sending a player to be named later or cash considerations to Oakland.

The A's designated Morales, 35, for assignment on Monday.

The Yankees have acquired 1B/DH Kendrys Morales and cash considerations from Oakland in exchange for a player to be named later or cash considerations. To make room on the 40-man roster, RHP Jonathan Loaisiga was transferred to the 60-day injured list.

To make room on the 40-man roster, New York transferred pitcher Jonathan Loaisiga to the 60-day injured list.

Morales, who was acquired by Oakland from Toronto on March 27, struggled this season, hitting just .206 in 108 at-bats. He had one homer and seven RBI in 34 games.

However, the switch-hitter hit over 20 homers for four straight seasons from 2015-18. In 13 seasons, Morales has hit .267 with 212 home runs and 725 RBI.

Morales' career began with Angels and has since moved around a lot with the Mariners, Twins, Royals, Blue Jays and Athletics.

Oakland Athletics' Kendrys Morales drives in a run with a triple off Pittsburgh Pirates starting pitcher Trevor Williams during the first inning of a baseball game in Pittsburgh, Saturday, May 4, 2019. (AP Photo/Gene J. Puskar)(Photo: Gene J. Puskar, AP)