The Miami Marlins have agreed to a two-year, $12 million deal with Junichi Tazawa, according to multiple reports.

Tazawa will earn $5 million in 2017 and $7 million in 2018.

He entered free agency for the first time after making $3.375 million in arbitration this year.