The Colorado Rockies and Nick Hundley have agreed to terms on a two-year contract.

Hundley will earn more than $6 million over the course of the deal.

The Baltimore Sun first reported the agreement.

Hundley, 31, spent most of his seven-season career with the San Diego Padres before finishing last season with the Baltimore Orioles.