The New York Yankees and infielder Luis Arraez agreed to a three-year, $45 million contract Sunday, according to MLB.com’s Mark Feinsand. The club had yet to announce a signing. MLB.com reported that a physical and final contract language were still pending.

A person familiar with the negotiations separately confirmed the terms to The Associated Press. Arraez hit .310 with six home runs and 64 runs batted in during a season split between San Francisco and Philadelphia.

Arraez won three straight batting titles from 2022 through 2024. He gives New York an option at second base after Jazz Chisholm Jr. agreed to join Toronto.