CHICAGO (CBSNewYork/AP) — The Yankees have sent infielder Brendan Ryan to the Chicago Cubs as the player to be named in last week’s trade that brought second baseman Starlin Castro to New York for right-hander Adam Warren.

Castro, who has played mostly shortstop, is expected to be the Yankees’ starting second baseman.

READ MORE: Funeral Today For NYPD Officer Jason Rivera, 22-Year-Old Killed In Line Of Duty In Harlem

The 33-year-old Ryan hit .229 this year, when he was limited to 47 games due to strains of a calf and his back. Ryan, who has a $1 million salary next year, has a .234 average in nine big league seasons.

READ MORE: Long Island Hoping For Best But Bracing For Worst As Nor'easter Approaches: 'Get Prepared Now'

To clear a roster spot, Chicago designated right-hander Yoervis Medina for assignment on Thursday.

MORE NEWS: Health Officials Tracking New 'Stealth' Omicron Variant Spreading In Europe, Detected In U.S.

(TM and © Copyright 2015 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2015 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)