The Chicago Cubs will sign Jason Hammel, a source has confirmed.

Hammel, 32, will get a two-year deal for $18 million with a club option for a third season and a $2 million buyout, according to sources.

The Cubs signed him to a one-year deal last offseason before trading him to the Oakland Athletics on July 4.