The Minnesota Wild and defenseman Matt Dumba have agreed to terms on a two-year, $5.1 million contract.

The deal was done Thursday. Dumba, who was a restricted free agent, will make $2.35 million this season and $2.75 million next season.

Dumba was the Wild's first-round draft pick in 2012. He totaled 10 goals, 16 assists, 83 hits and 56 blocked shots in 81 regular-season games in 2015-16, all career highs.