The Pittsburgh Pirates have agreed to a one-year, $2.5 million deal with Corey Hart.

The deal, which includes $2.5 million in performance bonuses, gives the Pirates a right-handed option at first base.

Hart, 32, hit .203 with six home runs and 21 RBI in 68 games for the Seattle Mariners in 2014.