Jack Quinn scored a pair of goals and the Buffalo Sabres withstood a late push by the Anaheim Ducks to win 5-3 at KeyBank Center on Thursday.

The Sabres have won 13 of their last 14 games for the first time in franchise history. They’ve won six straight on home ice, where they’ll play four more games over the next seven days.

Buffalo led 3-0 with less than five minutes to play in the game. Olen Zellweger put the Ducks on the board with 4:44 left on the clock, after which Quinn scored his second of the night to restore the Sabres’ two-goal lead.

The Ducks responded with two goals in a span of 1:10 to come cut their deficit to one, but Alex Tuch ended the comeback bid when he fought for the puck down low and set up Josh Norris’ empty-net goal in the final seconds.

Ukko-Pekka Luukkonen carried a shutout into the third period and finished the night with 31 saves. Tage Thompson had a goal and an assist, while Zach Benson and Peyton Krebs had two assists each. Bowen Byram also scored.

Josh Doan had an assist to extend his point streak to five games, then sent the sellout crowd of 19,070 into a frenzy with his first career fight against Ducks forward Ryan Strome during the third period.

The win opened up a five-game homestand for the Sabres, which continues Monday against Florida.