(CNN) -- The Los Angeles Kings scored in double overtime Friday night, defeating the New York Rangers 3-2 and winning their second Stanley Cup in three years. Alec Martinez slapped in the winning goal and the National Hockey League's championship trophy went to the Kings after a thrilling Game 5 at the Staples Center in downtown Los Angeles. The Kings had to work hard to claim the prize. Los Angeles took an early lead with a goal by Justin Williams, but the Rangers battled back and tied it with a power-play goal by Chris Kreider late in the second period. Brian Boyle scored again for the Rangers minutes later, making the score 2-1 New York.
@highlight
The winning goal was scored in the second overtime period
@highlight
Going into the game, the Kings led the series 3-1
@highlight
It's the second Stanley Cup for the Kings in 3 seasons
@highlight
Mayors of L.A., New York wager on outcome
Los Angeles Kings
Kings
Kings
Los Angeles
Kings
Kings
But with two Stanley Cup wins in three years, they have proved they are @placeholder of the game."