Lance Lynn has agreed to a three-year, $30 million deal to join the Texas Rangers.

Lynn, 34, had a 4.77 ERA last season in 29 starts and four relief appearances with the Minnesota Twins and New York Yankees.