DUNEDIN, Fla. -- Left-hander Jaime Garcia and the Toronto Blue Jays have agreed to a $10 million, one-year contract that includes a 2019 team option.

Garcia gets $8 million this year as part of the deal announced Thursday and Toronto has a $10 million option with a $2 million buyout. He can earn an additional $2 million annually in performance bonuses based on innings and would get the full amount at 180.

The 31-year-old had a $12 million salary last season, when he went 5-10 with a 4.41 ERA in 27 starts for Atlanta, Minnesota and the New York Yankees.

Garcia is 67-55 in his big league career with a 3.69 ERA in 185 games.

Toronto entered spring training with some uncertainty at the fifth starter spot behind Aaron Sanchez, Marcus Stroman, Marco Estrada and J.A. Happ.