PROVIDENCE, R.I. —  Jordan Szwarz scored in the seventh frame of a shootout Friday night to give the Portland Pirates a 3-2 win over the Providence Bruins.

Chad Johnson stopped 37 shots for the Pirates (24-13-1-1), who improved to 2-1 on the year in shootouts.

After a scoreless first period, Ryan Spooner got the Bruins on the board in the second. Spooner scored the opening goal on the power play with 15:34 left in the period, with assists going to Aaron Johnson and Craig Cunningham.

Darian Dziurzynski scored twice in the second period for Portland. He tied it with 12:51 left in the second, scoring his second goal of the season on an assist from Brendan Shinnimin.

Bobby Robins gave the Bruins the lead by putting a rebound past Johnson with 10:10 left in the period, but Dziurzynski struck again for the Pirates with 5:46 left. It was the first multi-goal game of Dziurzynski’s career.

The third period was again scoreless, with the Pirates killing off a crucial high-sticking double minor penalty to Brandon Gormley.

The shootout started with a Spooner goal and four straight saves by Bruins’ goaltender Niklas Svedberg. Chris Conner scored in round five for the Pirates to keep the shootout alive.

After an exchange of goals in the sixth stanza, Johnson stood strong in round seven, preceding the game-winner by Szwarz.

The win gives the Pirates 50 points on the year and an eight-point lead in the Atlantic Division over the Worcester Sharks. Johnson improved to 14-7 between the pipes.