ARLINGTON, Va. (AP) — The Washington Capitals re-signed Dmitry Orlov on Friday to a $30.6 million, six-year deal, a contract that reflects his improvement on the ice.

Orlov, who has become one of Caps’ best defenseman, will count $5.1 million against the salary cap through the 2022-23 season. General manager Brian MacLellan announced the move one day before Orlov was set to become a restricted free agent.

The 25-year-old Russian was the Capitals’ most improved player last season. He had six goals, a career-high 27 assists and 33 points in 82 games after missing the entire 2014-15 season with a wrist injury.

“It was a coming out party for him,” defense partner Matt Niskanen said. “He turned into a stud. He was our best D-man on many, many occasions this year.”

Orlov developed into a top-pairing defenseman with the trust of head coach Barry Trotz and associate coach Todd Reirden, playing alongside Niskanen late in the season and into the playoffs.

“They give me chance to play and I try to play smart and not make big mistakes,” Orlov said. “Thanks coaches to give me this opportunity to play more minutes and I try to do my best, try to be better than last year, try to get confidence and get my game going and get more comfortable.”

A year after being a healthy scratch in the playoffs and playing a smaller role, Orlov averaged over 19 minutes a game in the regular season and over 21 minutes in the playoffs.

“Every player like when he play more,” Orlov said. “It’s human nature. You want to play, you want to be big part of your team.”

Orlov said he tried to learn from Niskanen and cut down on some of the risky plays and mistakes he made as a younger player. Coming back from being out so long with the wrist injury forced Orlov to re-learn on-ice instincts, and the effect of that was noticeable.

“I think more than anything he’s got a good balance and you got trust in his game,” Trotz said. “That comes with reps and confidence and success, and when you have all those, which Orly has, you see that his skillset comes out…