LOS ANGELES -- Dustin Brown tied it late in the third period, and Trevor Lewis scored in the fourth round of the shootout to lift the Los Angeles Kings to a 2-1 win against the Anaheim Ducks at Staples Center on Saturday.
Jonathan Quick made 25 saves for the Kings (13-8-3), who ended a three-game losing streak (0-2-1) with their second win in their past seven home games (2-5-0). Anze Kopitar scored in the third round to extend the shootout.
[WATCH: All Ducks vs. Kings highlights]
"It's no secret, we've been struggling in here a little bit lately, and it's always nice to get a home win right before you go," Lewis said, referring to an upcoming four-game road trip for Los Angeles.
Nick Ritchie scored, and Ryan Miller made 33 saves in his return for the Ducks (10-9-4) after missing the past five games with a lower-body injury. Corey Perry scored the only goal for Anaheim in the shootout in the first round.
Brown ended Miller's shutout when he scored following up his own wraparound to tie it 1-1 with 1:32 remaining.
After Lewis scored in the shootout, Quick made a save against Anaheim rookie forward Kevin Roy to end the game.
"It was a great game," Ducks defenseman Kevin Bieksa said. "It was physical, it had a little bit of everything. You could tell that we wanted this one, and you win it in the shootout or in overtime, you feel like a million bucks. If you lose, you feel like a zero."
Video: ANA@LAK: Brown ties the game late with put-back goal
Anaheim played without forward Rickard Rakell, who is day to day with an upper-body injury. Ducks coach Randy Carlyle said Rakell will not travel with them for the remainder of their six-game road trip.
"Credit to the guys that are here, it's not an easy task to go out and play in situations maybe that they have never been in their life in the NHL and playing that high in the lineup," Carlyle said. "Nick Ritchie, he played 21 minutes of ice time. That's the first time he ever would have played 21 minutes in the NHL. He's on power play, he's on penalty kill, he was a physical force.
"We have some growth taking place too in some young players, and that's been very, very enlightening. And we're real pleased with that, but points are what is most important."
Ritchie put the Ducks ahead 1-0 at 10:08 of the first period after Perry found him in the slot for a shot through traffic.
Perry has 10 points (two goals, eight assists) in his past 10 games.
Defenseman Cam Fowler also had an assist on the goal, his second in four games after missing the previous 12 with a knee injury.
The Kings, who are 2-6-1 in their past nine games, struggled to create quality scoring chances. Despite keeping the puck in the Ducks zone for more than two minutes in the middle of the second period, with the same Anaheim group on for two icing calls, Los Angeles had two shots, each from distance. Bieksa (3:11) was one of five Ducks caught on the ice for 2:07 or more during the stretch.
It wasn't until the final minutes that the Kings generated their best chances.
"They always say, 'Be ready for 60 minutes,' and it took us until the last minute," Lewis said.
Each team was playing the second game of a back-to-back. Los Angeles lost 3-2 in overtime to the Arizona Coyotes on Friday, when Anaheim lost 4-1 to the Winnipeg Jets.
Video: ANA@LAK: Quick denies Roy to secure shootout win
Goal of the game
Lewis' goal in the fourth round of the shootout.
Video: ANA@LAK: Lewis buries eventual shootout winner
Save of the game
Miller stopping Marian Gaborik at 16:04 of the third period.
Video: ANA@LAK: Gaborik shuts down Miller's late attempt
Highlight of the game
Ritchie's goal at 10:08 of the first period.
Video: ANA@LAK: Ritchie bangs home Perry's sweet dish
They said it
"Confidence is a funny thing. When things are going great, you feel like you can beat anybody, but I think it's times like these that build the character of a group for the long term." -- Kings forward Dustin Brown
"If we can have that enthusiasm and that compete level in these upcoming games, then we'll get points." -- Ducks coach Randy Carlyle
Need to know
The Ducks recalled forward Kalle Kossila from San Diego of the American Hockey League to fill an open roster spot with Rakell injured. … Kings forward Andy Andreoff did not return after being knocked down in a fight with Bieksa at 9:25 of the first period.
Ducks: At the Chicago Blackhawks on Monday (8:30 p.m. ET; NBCSCH, FS-W, NHL.TV)
Kings: At the Detroit Red Wings on Tuesday (7:30 p.m. ET; SNE, SNO, FS-D, FS-W, NHL.TV)
Video: Kings win in SO after Brown ties game late