LOS ANGELES, Calif. - Alec Martinez became a hockey folk hero for the Los Angeles Kings with his two playoff series-winning overtime goals last summer.

The defending NHL champions want him around for six more seasons to make some new memories.

The Kings agreed to a six-year, $24 million contract extension Wednesday with Martinez, the defenceman whose overtime goal won the Stanley Cup for the Kings in June.

Martinez has been a dependable blueliner for the Kings since he cracked their lineup in late 2010. The Detroit-area native and former fourth-round draft pick has 25 goals and 37 assists in 221 career NHL games, all with Los Angeles.

Martinez scored a career-best 11 goals last season, but they were just a prelude to two of the biggest goals in franchise history.

Martinez's Game 7 overtime goal off Nick Leddy's torso sent the Kings past the Chicago Blackhawks in the Western Conference finals, ending a grueling series between the teams widely considered the NHL's best last season.

Twelve days later, his shot into an open net in Game 5 against the New York Rangers handed the Kings their second Stanley Cup title in three years. Martinez added a personal touch to the moment by throwing off his gloves and wildly shaking his arms at his teammates, a gesture forever immortalized by Kings fans as "Jazz Hands."

Martinez's ice time and responsibilities have risen this season in the absence of departed free agent Willie Mitchell and the indefinite suspension of Slava Voynov. He returned from a seven-game injury absence Tuesday for the Kings' 2-0 win over Boston.

Martinez would have been a restricted free agent next summer, and he likely would have commanded a heftier salary given the paucity of veteran defencemen headed to market next year. But Martinez followed most of his teammates' lead by valuing the Kings' winning culture and comfortable lifestyle over free-agent uncertainties.

The Kings also showed their commitment by signing another two-time Stanley Cup champion to a long-term deal. Los Angeles already has more than $60 million in salary commitments to 14 players for next season, with several key restricted free agents still to sign.

Defenceman Jake Muzzin agreed to a five-year, $20 million contract extension earlier this season. Martinez is the fourth defenceman due to make at least an average of $4 million per season for the next four years, including Drew Doughty and Voynov.