Colorado Avalanche defenseman Tyson Barrie (4) controls the puck in front of Minnesota Wild center Mikael Granlund (64), of Finland, during the second period of an NHL hockey game in St. Paul, Minn., Tuesday, March 1, 2016. (AP Photo/Ann Heisenfelt)

The Colorado Avalanche and defenseman Tyson Barrie avoided a contract arbitration ruling by signing a four-year, $22 million contract on Sunday.

The team announced the signing, and a person with direct knowledge of the contract revealed its value to The Associated Press. The person spoke to the AP on the condition of anonymity because the Avalanche did not provide that figure.

The deal was reached two days after both sides made their cases at an arbitration hearing but before the arbitrator issued a ruling.

The 25-year-old Barrie has led Avalanche defensemen in points in each of the past two seasons, including a career-high-matching 13 goals and 36 assists for 49 points in 78 games last season.

Overall, he has 40 goals and 113 assists for 153 points in 264 career games.