Sidney Crosby scored a power-play goal at 1:38 of overtime and the host Pittsburgh Penguins rallied to beat the Buffalo Sabres 6-5 on Wednesday night.

Evgeni Malkin became the 48th player in NHL history to score 500 career goals and Crosby became the 10th player in NHL history to reach 1,600 regular-season points in a career. Crosby, from behind the net, sent a between-the-legs pass in front to Malkin, who was sitting on the ice when he scored his goal.

Crosby reached the milestone when he recorded the secondary assist on Bryan Rust’s power-play goal at 11:01 of the first period. Rust scored his second goal with 46 seconds left to force overtime. Drew O’Connor scored a short-handed goal and Jesse Puljujarvi added his second of the season.

Tristan Jarry allowed three goals on five shots in the first period before he was pulled. Joel Blomqvist came on and finished with 26 saves.

J.J. Peterka, back after missing the last two games with a concussion, scored twice for Buffalo.

MAPLE LEAFS 6, KINGS 2 >> Auston Matthews broke out of a season-opening points drought, scoring his first goal and adding his first two assists as host Toronto’s captain in a victory over Los Angeles.

Matthews made it 2-0 midway through the first period, quickly regaining control after fanning on a shot and beating David Rittich with a wrist shot.

The NHL goals leader last season with 69, Matthews also assisted on two power-play goals to help the Maple Leafs win for the third straight time after an opening 1-0 loss at Montreal.

Alex Turcotte and Kevin Fiala scored in the third period for the Kings.