The Boston Bruins and restricted free agent Brad Marchand have reached agreement on a two-year contract, the team announced Wednesday.

The 23-year-old will be paid $2 million this season and $3 million next season, sources told ESPN.com's Pierre LeBrun. Marchand will be a restricted free agent again following the 2012-13 season.

At a teleconference with the media, Bruins general manager Peter Chiarelli and Marchand both said they were never worried a deal wouldn't get done, but that finalizing it before Friday's start to training camp was important.

"From the get-go I never was going to miss a day of camp," Marchand said. "I never wanted that. I wanted to be here the first day. I wanted to show I wanted to be here and go through the whole camp with the guys and be a part of the team. I was very happy that it didn't have to come down to that, and we were able to get the deal done before camp, so now we can just move forward."

Chiarelli concurred with his winger, who became a cult hero during the Bruins run to the Stanley Cup championship by registering 19 points in 25 games. Marchand had two goals and an assist in a 4-0 win in Game 7 against the Vancouver Canucks that earned Boston its first Cup in 39 seasons.

"It was important," Chiarelli acknowledged. "I didn't think that it would get to that stage. Brad's always told me that he wants to be here and be part of the Bruins, and I know the work that (assistant general manager) Don Sweeney put in and Brad's representative, they put in some good time and I had a feeling it would get done. It's nice to finish this, spin this before camp, because you fall behind in camp and it's hard to catch up. So I didn't think that it would get to that stage, and it didn't.

"It took a little while, but I'm very happy to sign Brad to two years. He was a terrific performer in the playoffs, a clutch performer and just loves to play, plays on the edge, and we're really excited to have him with the Bruins for two more years."

Chiarelli attributed the length of the negotiations with Marchand and agent Wade Arnott to the league's collective bargaining agreement and the status of players coming off entry-level deals.