Free agent reliever Keynan Middleton and the St. Louis Cardinals agreed to contract terms pending a physical, multiple media outlets reported Thursday.

The 30-year-old right-hander began last season with the Chicago White Sox, then was dealt to the New York Yankees at the Aug. 1 trade deadline in exchange for minor league right-hander Juan Carela.