The Minnesota Twins and former Philadelphia Phillies utility player Edmundo Sosa have agreed to a two-year, $17. 5 million contract, according to a person with knowledge of the deal.

The person spoke to The Associated Press on Sunday on condition of anonymity because the contract had not yet been finalized.

The agreement was reached late Saturday and first reported by ESPN.