The New York Yankees have hired Carlos Beltran as special adviser to general manager Brian Cashman.

Beltran, 41, played for the Yankees from 2014 through 2016.

"It is a job I had considered and taking it with the Yankees made all the sense in the world," Beltran said. "They are a storied franchise and I know them well because I played there. Also, I will be in New York, where I have a home. This is the first step toward a new career, now in the office and I am very happy about it. Right now I am not setting huge goals nor am I thinking over the long term. I am just taking one step at a time."