Ramirez Signs with the Tampa Bay Rays

There’s a Rays of light for Alexei Ramirez

The Tampa Bay Rays signed the 34-year-old Cuban veteran shortstop before the team’s Thursday night 5-4 loss to the New York Yankees.

Alexei Ramirez

Ramirez, who was released by the San Diego Padres on Sunday after losing his job as the team’s starting shortstop, entered the game in the bottom of the second as a defensive replacement for shortstop Brad Miller. He went 1-for-3.

Ramirez, who turns 35 on September 22, hit .240 with five homers and 41 RBIs in 128 games with San Diego. He started 109 games at shortstop, three in right field and one at designated hitter.

Padres manager Andy Green said Ramirez “didn’t have the range at shortstop anymore that we need” after Ramirez was released.

Ramirez, a 2014 All-Star, signed with the Chicago White Sox out of Cuba before the 2008 season and hit .273 with 109 home runs in eight years with Chicago.

He signed as a free agent with San Diego in January, agreeing to a deal that included a $3 million salary this year and a 2017 mutual option with a $1 million buyout.

Tampa Bay pays $69,331 for the rest of the season, a prorated share of the big league minimum that offsets a portion of what the Padres owe.