ARLINGTON, Texas (AP) Free-agent pitcher Andrew Cashner and the Texas Rangers have finalized a $10 million, one-year contract after the right-hander completed a physical Monday.

Cashner finished last season with the Miami Marlins after the San Diego Padres traded him July 29. He was 5-11 with a 5.25 ERA in 28 games last season.

The 30-year-old Cashner will join a Rangers rotation that's led by aces Cole Hamels and Yu Darvish and includes Martin Perez.

More from FoxSports

Cashner is a Texas native and played collegiately at TCU, which is only about 20 miles from the Rangers' ballpark.

The last Texas-born pitcher to start a game for the Rangers was Jason Jennings in 2008.

Cashner has a 31-53 record with a 3.89 ERA in 202 career games for the Chicago Cubs, Padres and Marlins.