WASHINGTON — Alex Ovechkin got his 24th goal of the season and then scored in the shootout to help the Washington Capitals beat the Boston Bruins, 4-3, Thursday night.

Lars Eller and Brett Connolly also scored for the Capitals, who snapped a three-game losing streak and won their 12th consecutive game over the Bruins. Washington also ended a scoring drought that had lasted almost nine full periods.

David Backes scored twice for the second time this season, but Boston lost for the third time in its last 12 games. Noel Acciari also scored for the Bruins.

Boston built a 2-0 lead before Washington registered its first shot of the game, and also led 3-2 in the third.

Washington’s Braden Holtby and Boston’s Anton Khudobin each made 31 saves.

Connolly tied it at 3 with 8:38 left in the third.

Ovechkin had the only successful shootout try, finishing into the top right corner. Associated Press