The Montreal Canadiens have agreed to terms with forward Jordan Weal on a two-year deal with a cap hit of $1.4 million, the team announced Friday.

Weal, acquired by the Canadiens at the trade deadline this season from the Arizona Coyotes for forward Michael Chaput, posted four goals and 10 points in 16 games upon joining Montreal. He scored a total of eight goals and 21 points in 53 games this season with the Philadelphia Flyers, Coyotes and Canadiens. He was scheduled to become an unrestricted free agent

The Canadiens have already extended trade deadline pickups Christian Folin and Nate Thompson, both on one-year deals, since the season ended. Before Friday's deal, Weal was one of three pending UFAs left on the roster, along with Antti Niemi and Jordie Benn. General manager Marc Bergevin said at his season-ending news conference that Niemi, the team's backup goaltender, would not be re-signed.

Weal entered the league as a third-round pick of the Los Angeles Kings in 2010. The 27-year-old has 24 goals and 54 points in 169 career NHL games.