All-Star second baseman Robinson Cano has signed a $240 million, 10-year contract that was agreed upon late last week with the Seattle Mariners.

The Mariners announced the contract Thursday following Cano's completion of a physical. The deal is tied for the fourth largest contract in major league history.

Cano had spent his entire career with the Yankees. The five-time All-Star played in 160 games last season and hit .314 with 27 homers and 107 RBIs. Cano posted a .899 on-base plus slugging percentage and finished fifth in American League MVP voting.

The Yankees offered Cano a $175 million, seven-year deal. New York went 85-77 last season and missed the playoffs for only the second time in 19 years; Seattle went 71-91 and hasn't been in the playoffs since 2001.

More From 1460 ESPN