ANAHEIM -- Coach Randy Carlyle got his 400th NHL win and the Anaheim Ducks ended a six-game losing streak against the Washington Capitals at Honda Center with a 5-2 victory on Sunday.
"It's always nice, but it's a team accomplishment," Carlyle said of the milestone. "I've been lucky to coach good players."
Corey Perry got his second multigoal game of the season and had an assist, and Rickard Rakell scored his Ducks-leading 29th goal.
Anaheim (36-23-10) moved two points ahead of the Calgary Flames for second place in the Pacific Division.
Ryan Getzlaf and Ryan Kesler scored third-period goals and each had two assists, and goalie Jonathan Bernier had 25 saves, starting in place of the injured John Gibson for the seventh time in the past eight games.
WATCH: All Capitals vs. Ducks highlights
John Carlson and Marcus Johansson scored for the Capitals (44-17-7), who have lost four in a row in regulation for the first time since Oct. 25-Nov. 2, 2014. Washington remains one point ahead of the Pittsburgh Penguins for first place in the Metropolitan Division.
"We've been together a long time," said Capitals captain Alex Ovechkin, who went a 10th straight game without a goal for the first time in his 12-year NHL career. "We don't remember when we lose four in a row, and that's a good thing."
The Ducks scored their first three goals in a five-minute span in the second period to take a 3-0 lead.
Perry gave Anaheim a 1-0 lead at 4:52 when he skated across the front of the goal and shot the puck past Braden Holtby as he lunged to his left.
Video: WSH@ANA: Perry stays patient, opens the scoring
Perry scored again at 9:21, tipping a shot from Kesler from the high slot.
Rakell's goal came one second after Getzlaf won an offensive-zone faceoff. Rakell stepped into the circle and fired a one-timer past Holtby for a 3-0 lead at 9:49.
Carlson scored on the power play at 12:10 of the second period to make it 3-1, and Johansson's 22nd goal made it 4-2 at 4:57 of the third.
Capitals defenseman Kevin Shattenkirk did not play after receiving a two-game suspension for a hit on Los Angeles Kings defenseman Kevin Gravel on Saturday.
Goal of the game
The play that led to Perry's second goal began when Hampus Lindholm made a stretch pass from near his goal line to Getzlaf at the Washington blue line. Getzlaf skated into the Capitals zone and backhanded a centering pass to Kesler, whose one-timer was deflected by Perry and into the net.
Video: WSH@ANA: Perry deflects Kesler's shot into the net
Save of the game
The Capitals went back on the power play 1:04 after scoring a power-play goal to cut the deficit to 3-1. Ovechkin's shot was headed for the top right corner, but Bernier stuck up his glove and snared the puck near his left ear at 13:41 of the second period.
Video: WSH@ANA: Bernier snags Ovechkin's sizzling slap shot
Highlight of the game
One of Washington's best scoring opportunities of the first period came after T.J. Oshie sprung loose in front of the Anaheim goal during a power play and received a pass from behind the net. Bernier seemed surprised Oshie was so wide open and tried to take away the lower part of the net just as Ducks defenseman Josh Manson reached in and deflected Oshie's shot over the net and glass at 17:34 of the first, earning a stick tap from Bernier.
Unsung performance of the game
Ducks forward Antoine Vermette returned to the lineup after serving a 10-game suspension. He drew an interference penalty on Eller in the first period and helped kill off Washington's first power play, blocking a shot from Carlson and then clearing the puck as the man-advantage ended.
They said it
"We definitely played an energized game. You felt it right from the opening faceoff." -- Ducks coach Randy Carlyle
"You just maybe wait for something to happen. … A miracle or something." - Capitals left wing Alex Ovechkin
Need to know
Gibson was placed on injured reserve (lower body) before the game and Jhonas Enroth was recalled from San Diego of the American Hockey League. Gibson returned after a six-game absence because of a muscle strain and allowed four goals in a 4-3 loss at the St. Louis Blues on Friday. Getzlaf has 14 points (four goals, 10 assists) in the past 10 games. Rakell has eight points (seven goals, one assist) in the past eight games. … Washington has been held to two goals or fewer in six consecutive games for the first time since Nov. 15-25, 2006.
Capitals: Host the Minnesota Wild on Tuesday (7 p.m. ET; SNP, CSN-DC, FS-N, FS-WI, NHL.TV)
Ducks: Host the St. Louis Blues on Wednesday (10 p.m. ET, NBCSN, FS-MW, NHL.TV)
Video: Trio of three-point nights help Carlyle get 400th win