Masahiro Tanaka #19 of the New York Yankees walks off the mound after the sixth inning against the Cleveland Indians ( Jim McIsaac/Getty Images)

NEW YORK  — Masahiro Tanaka rebounded from two rocky outings, Didi Gregorius homered and the New York Yankees held off the Cleveland Indians 3-2 on Sunday after announcing that Alex Rodriguez will play his final game in pinstripes this week.

Mark Teixeira, two days since disclosing his own plans to retire at the end of the season, hit an RBI double and dove toward first base to complete a crucial play on defense. Dellin Betances got four outs for his second save as New York took two of three from the AL Central leaders and finished 5-2 in the season series.

Cleveland, which remained two games ahead of Detroit, has dropped five of seven. Cleanup hitter Mike Napoli was ejected by plate umpire Lance Barrett after getting called out on strikes in the eighth inning.

Sign up for the Newsletter

Get the best of delivered to your inbox every day.

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)