The Texas Rangers have agreed to a Minor League contract with Dallas Keuchel.

The 34-year-old had stints with the Arizona Diamondbacks and Chicago White Sox this season before getting released by both teams.

Keuchel had a 7.88 ERA in eight starts with Chicago prior to being designated for assignment. He then posted a 9.64 ERA in four starts with the Diamondbacks.