NEW YORK, NY - AUGUST 07: Alex Rodriguez speaks during a news conference on August 7, 2016 at Yankee Stadium in the Bronx borough of New York City. Rodriguez announced that he will play his final major league game on Friday, August 12 and then assume a position with the Yankees as a special advisor and instructor. (Photo by Jim McIsaac/Getty Images)

Alex Rodriguez has announced his retirement from baseball after being released by the New York Yankees.

The 41-year-old has accepted a front office job as a special adviser and instructor.

“This is a tough day,” Rodriguez said.

“I love this game and I love this team. Today, I say goodbye to both.

“This is also a proud day. I was 18 when I broke into the big leagues. I never thought I could play for 22 years. I want to thank the Steinbrenner family for giving me this opportunity and making me part of this team and giving me the opportunity to stay involved and mentor the next generation of Yankees.”

While he is a 14-time All Star, his career was also tainted by his use of performance enhancing drugs, which saw him miss the 2014 season after accepting a 162-game suspension.

Rodrigues has hit 696 home runs in his career, behind only Barry Bonds (762), Hank Aaron (755) and Babe Ruth (714) in Major League Baseball history.