The Bruins seized control of the Eastern Conference quarterfinals with a 5-2 victory over the Toronto Maple Leafs at Air Canada Centre.

The B’s got a first-period tally by Adam McQuaid and second-period goals from Rich Peverley, Nathan Horton and Daniel Paille and then David Krejci sealed it with an empty-netter with 1:17 left.

Tuukka Rask finished with 46 saves.

The B’s went into the third period with a 4-1 lead, but they quickly gave one back when they were careless with the puck on the penalty kill. After they couldn’t clear the puck in front of the net, Phil Kessel knocked it home 47 seconds into the third to give the Leafs life.

The B’s, however, hung on for dear life at times in the third and, after a great fourth-line shift late in the game to kill Toronto’s momentum, Krejci finished it off.

After nine long years without a playoff game, the notoriously disinterested ACC crowd was indeed into the game from the start, chanting “Go Leafs Go” even before warmups and then turned Boston’s sarcastic “Thank you, Kessel” chant into one of, well, genuine thanks.

And the Leafs did play well at the outset, getting some shots on Rask, including a good one from Nazem Kadri right off the bat.

But Rask had good rebound control and most of the Leafs’ shots were of the long-range variety.

The B’s had some good early chances as well. A great one came midway through the period when Brad Marchand’s shot went off James Reimer’s pads and out into the slot. Patrice Bergeron couldn’t reach the puck but he took the Leaf defense with him and Tyler Seguin sped in from the left and had a wide-open shot on Reimer. He went to his backhand, but Reimer made an excellent blocker save.