DURHAM — It was wacky hockey for a full 60 minutes at the Whittemore Center between UNH and Boston College, and when the dust settled it was UNH celebrating its biggest win of the year.

In front of a rambunctious crowd of 5,256 people, the Wildcats and Eagles put on a show that included a little of everything and ended with UNH coming back from a two-goal deficit to defeat the Eagles 6-4.

The win gives UNH a key tiebreaker in the Hockey East standings for the upcoming playoffs and improves the Wildcats to 5-1-1 in their last seven.

Everything went sideways early for UNH as the Eagles struck first and second with goals from Christopher Brown and Oliver Wahlstrom in the first period.

New Hampshire drew even less than four minutes into the second thanks to goals from Patrick Grasso and Angus Crookshank.

Grasso’s goal, just 85 seconds into the period, came thanks to a wonky bounce of the end boards that set him up for easy shot on target.

The teams traded goals midway through the second with Aapeli Rasanen potting one for the Eagles only for Liam Blackburn to respond less than three minutes later for New Hampshire. The goal pushed Blackburn’s points streak to 11 games.

Auburn native JD Dudek gave BC the lead once more midway through the period, but the Wildcats responded less than two minutes later when Patrick Grasso was awarded a short-handed goal due to BC goalie Joe Woll kicking the net off during play.

The winner finally came from the stick of Ara Nazarian, who took a drop pass from Charlie Kelleher and wristed it into the far side the cage midway through the third. Chris Miller added an empty-netter for the Wildcats in the final minute to put the victory on ice.

The win improves UNH to 7-8-6 overall and 3-5-2 in Hockey East. The win lifts UNH over Maine into seventh in the league standings and puts them just four points out of fifth.

The Wildcats play their next three on the road, starting with a game at Merrimack on Friday, before returning to the Whittemore on the 26th to host Connecticut.