The Arizona Diamondbacks have agreed to a five-year, $24 million deal with infielder Ketel Marte.

The deal includes a pair of options worth a total of $22 million.

Marte, 24, filled in at shortstop last season and will primarily play second base this season.