DETROIT (AP) -- There was time for one more good chance in overtime before the clock would run out. Andreas Athanasiou took the puck near the blue line, skated in and backhanded it toward the front of the goal, where Dylan Larkin was open.
''I saw the lane to the net,'' Larkin said. ''I knew he was going to get it to me, so I just tried to put myself on the far side of the net.''
Larkin scored with 5.1 seconds remaining in overtime, capping an impressive late comeback by the Detroit Red Wings in a 3-2 victory over the New York Rangers on Friday night. Athanasiou tied the game with 2:02 remaining in the third period, then made the pass to Larkin, who redirected the puck past Henrik Lundqvist for his seventh goal of the season.
''Just took a look at the clock,'' Athanasiou said. ''Got the puck up, (Mike Green) was screaming for me to get it up there. I saw Larks and tried to get it to the net.''
The Rangers led 2-0 after two periods but had their four-game winning streak snapped. Detroit has won five of six after winning just one of its first 10 games.
Kevin Shattenkirk and Neal Pionk scored 40 seconds apart during an extended New York power play late in the second period, but Justin Abdelkader began the Detroit rally with a goal early in the third.
Lundqvist remained a win behind Hall of Famer Jacques Plante for seventh place on the career list.
''This one hurts, because we had everything under control,'' Lundqvist said.
The Rangers scored twice while Detroit's Jacob de la Rose was serving a double-minor for high-sticking. Shattenkirk beat goalie Jimmy Howard with a wrist shot from the top of the left circle. Then, with de la Rose still in the box, Pionk's perimeter shot appeared to deflect off a Detroit player on its way in.
Lundqvist's bid for his first shutout in nearly a year ended with 18:14 left in the third. Gustav Nyquist took the puck from Rangers defenseman Brendan Smith and fed Abdelkader on the doorstep for an easy goal.
''We cheated the game with a 2-0 lead and that's the result,'' Rangers coach David Quinn said. ''I thought we had learned that lesson, but we obviously haven't. You can't do that in this league.''
Athanasiou, back after missing four games with a lower-body injury, tied it toward the end of the third when he sped in from the left wing and backhanded the puck past Lundqvist.
''A lot of speed. I knew I could cut in,'' Athanasiou said. ''Got hooked a little bit, was able to get the puck back and I was able to fake Lundqvist out.''
The Red Wings also trailed 2-0 before rallying to beat Vancouver in a shootout Tuesday.
''We need to play the first period with the same urgency that we have in the third period,'' Detroit coach Jeff Blashill said.
NOTES: Mats Zuccarello (groin strain) missed the game for New York. ... De la Rose left with an upper-body injury. ... With Brett Howden, Lias Andersson and Filip Chytil, the Rangers had three forwards age 20 or younger in the same regular-season game for the first time since Oct. 13, 1990, when Tie Domi, Troy Mallette and Steven Rice played at Washington. ... It was the 12th time in the last 13 games between Detroit and New York that the game was decided by one goal.
Rangers: Visit Columbus on Saturday night.
Red Wings: Visit Carolina on Saturday night.
More AP NHL: https://apnews.com/NHL and https://twitter.com/AP-Sports
Follow Noah Trister at www.Twitter.com/noahtrister