Bernier was 12-21-3 with three shutouts, a 2.88 goals-against average and a .908 save percentage in 38 games with Toronto last season. He is 88-88-23 with a 2.67 GAA, a .915 save percentage and 12 shutouts in the NHL.

The Anaheim Ducks acquired goalie Jonathan Bernier from the Toronto Maple Leafs on Friday in a trade for a conditional draft pick.

"I didn't know there was a trade coming or that I was going to get moved, but [Toronto general manager] Lou [Lamoriello] called me with the news this morning," Bernier said. "I'm definitely very happy to come to the Ducks. It seems like a great organization, and they have a great team as well. I think it's a great fit for me and obviously a new chapter."

Bernier, 27, will compete for playing time with John Gibson, who turns 23 on July 14.

"You can't think about how many games you're going to play or whether Gibson is playing more games than me or not," Bernier said. "I've been working hard this summer, and I'm ready to go for the upcoming season."

Though he said he enjoyed his time with the Maple Leafs, Bernier said he is excited for a chance to play for a contender.

"Playing in Toronto, I had a real good experience, but when you go through a rebuild, it's never easy," he said. "I'm going to a team that's a Stanley Cup contender, and you're feeling better coming into camp and knowing you have a great team in front of you."

Bernier was selected by the Los Angeles Kings in the first round (No. 11) of the 2006 NHL Draft and has played eight seasons with the Kings and Maple Leafs.

The Ducks traded goalie Frederik Andersen to the Maple Leafs on June 20 for a first-round pick (No. 30) in the 2016 NHL Draft and a second-round pick in 2017.

"As we all know, we made the trade earlier to get Andersen and we felt that this was the best thing for us to do and we will acquire a backup goaltender before training camp," Lamoriello said.

Bernier played for Ducks coach Randy Carlyle in Toronto for a season and a half after being traded by the Kings on June 23, 2013.

"I had to gain his confidence when I got traded to Toronto, but we always got along well," Bernier said. "He's a very detailed coach and he demands a lot. That's what you want from your coach."

Carlyle, who was fired by the Maple Leafs on Jan. 6, 2015, was hired as Ducks coach on June 14; it is his second stint with Anaheim.