Miami, FL (SportsNetwork.com) - The Miami Marlins agreed to a two-year contract with reliever Mike Dunn on Sunday to avoid arbitration.

According to the Miami Herald, Dunn, 29, will make $5.8 million over the length of his contract.

The left-hander compiled a 10-6 record with a 3.16 earned run average over 75 appearances for the Marlins last season.

Dunn owns a 20-19 record with a 3.36 ERA over 311 career games spanning six seasons with the Yankees, Braves and Marlins.