The Los Angeles Kings have agreed to a six-year, $24 million contract extension with Alec Martinez, the defenseman who scored two series-ending overtime playoff goals last June.

The Kings announced the deal Wednesday with Martinez, signing another two-time Stanley Cup champion to a long-term deal.

Martinez is a dependable defenseman who became an NHL playoff folk hero with two clutch goals last summer.

His Game 7 overtime goal off Nick Leddy's torso sent the Kings past the Chicago Blackhawks in the Western Conference finals, and 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 has 25 goals and 37 assists in 221 career NHL games, all with Los Angeles.