GOODYEAR, Ariz. (AP) – The Cleveland Indians signed versatile infielder Jose Ramirez to a five-year, $26 million contract.

Ramirez’s deal includes club options for the 2022 and 2023 seasons.

The sides agreed to the deal last week and Ramirez passed his physical to finalize a contract Tuesday that locks up one of Cleveland’s core players for the future. The Indians have also had talks with All-Star shortstop Francisco Lindor this spring about a long-term deal.

The 24-year-old Ramirez had a breakout season in 2016, when he helped the Indians win their first AL pennant since 1997.

In his first major league season, Ramirez batted .312 with 46 doubles, 11 home runs, 76 RBIs and 22 steals. He played four positions and hit in every spot in Cleveland’s batting order, picking up the offensive slack after left fielder Michael Brantley was limited to just 11 games following right shoulder surgery.