After months of rumours about his future with the team, the Montreal Canadiens signed Alex Galchenyuk to a three-year contract on Wednesday.

The 23-year-old forward has had a tempestuous time in the NHL since being drafted by the Canadiens third-overall in the 2012 draft.

Last year, he posted 17 goals and 27 assists in 61 games, but found himself playing on the fourth line after finding himself in coach Claude Julien’s doghouse. While drafted as a centre, both Julien and former coach Michel Therrien often switched him over to the wing.

Still, Galchenyuk remains one of the Habs’ most promising young forwards, hitting the 30-goal mark for the first time in the 2015-16 season.

In 336 career games, he’s posted 204 points, including 89 goals.

Galchenyuk was a restricted free agent and would have gone to arbitration had he and the Habs not reached an agreement.

While details of the contract were not made public, it will pay Galchenyuk an average of $4.9 million per season, according to reports.