The Texas Rangers have traded infielder Jurickson Profar to the Oakland Athletics as part of a three-team deal that also involves the Tampa Bay Rays, the teams announced Friday.

The Rays get reliever Emilio Pagan and the 38th overall pick in the 2019 draft from the A’s and minor league pitcher Rollie Lacy from the Rangers. The Rangers receive Rays minor league relievers Brock Burke, Kyle Bird and Yoel Espinal, A’s minor league infielder Eli White and international slot money.

Profar hit .254 for the Rangers last season with 20 home runs and 77 RBIs, playing the majority of 2018 at either shortstop or third base. He could serve as a replacement for free agent Jed Lowrie at second base in the A’s infield.