DJ LeMahieu's time in Colorado has come to a close.

According to Jack Curry of YES Network, LeMahieu and the New York Yankees agreed to terms on a two-year contract Friday following seven seasons with the Rockies. Ken Rosenthal of Fox Sports confirmed the report and noted the deal was worth $24 million.

LeMahieu arrived in Colorado by way of a December 2011 trade with the Chicago Cubs, and he has steadily developed into one of MLB's more prolific middle infielders over the past half-decade. 

Dating back to 2014, LeMahieu has won three Gold Gloves (2014, 2017, 2018) and nabbed two All-Star nods (2015, 2017). He also led all hitters with a .348 average in 2016. 

LeMahieu followed up with a .310/.374/.409 slash line in 2017, but he wasn't nearly as steady in the batter's box last season. 

All told, the 30-year-old hit .276 with a .749 OPS, although he did crank a career-high 15 home runs and rack up 62 RBI.