The Canadian Press | Thursday, 01.30.2014 / 10:10 PM

BOSTON (CP) - Peter Budaj stopped 34 shots and the Montreal Canadiens ended Boston's recent scoring binge with a 4-1 win over the Bruins on Thursday night.

The Canadiens won their second game in three nights after losing four in a row. They also stopped a four-game winning streak for the Bruins, who had 21 goals in that stretch.

Alexei Emelin and Max Pacioretty scored before Dougie Hamilton's goal cut Montreal's lead to 2-1 after one period. Brian Gionta made it 3-1 at 11:54 of the second, ending goalie Tuukka Rask's night. He was replaced by Chad Johnson, who allowed the first shot he faced, by Daniel Briere, to get past him less than two minutes later.

The Bruins had scored six goals in each of their previous three games.

The Canadiens had been outscored 19-5 during their losing streak, which ended when Carey Price stopped 36 shots in his third shutout of the season in a 3-0 win over Carolina on Tuesday night. That win also snapped a four-game winning streak.

Boston remained in first place in the Atlantic Division and second in the Eastern Conference but was outskated in the first period when Montreal dominated early on. It was quite a change for the Bruins, who were the aggressors from the start in their previous two games.

They outshot Florida 19-8 in the first period of a 6-2 win Tuesday night. That came one night after they took 18 of the first 20 shots in a 6-3 win over the New York Islanders.

But they fell behind early Thursday night and never caught up.

Emelin got his first goal in 32 games this season when he converted a slap shot from the right point with four players standing right in front of the crease just 2:16 into the game.

Pacioretty scored his team-leading 23rd goal at 14:32. He received a pass along the left side in centre ice, skated behind the defence and put a short backhander behind Rask.

But Hamilton scored his fifth goal just a minute later.

Neither team had many good opportunities in the first half of the second period. But less than two minutes later, Tomas Plekanec took a power-play shot from the right circle and Gionta tipped it in for his ninth goal.

Briere finished the scoring with a shot Johnson had little chance to stop. With three Bruins chasing him and only the goalie in front of him, Briere fired a 10-foot forehand shot over Johnson's shoulder.

NOTES: The Bruins fell to 12-3 in their last 15 home games. ... Budaj is 4-1 with one shutout in five career games against the Bruins. ... For the first time in the last 10 games between the teams, the final margin was more than one goal. The last time that happened was on Oct. 29, 2011, when Montreal won 4-2.

Scoring Summary
1st Period
02:16MTL Alexei Emelin (1) ASST: Andrei Markov (23), Daniel Briere (8) 1 - 0 MTL
14:32MTL Max Pacioretty (23) ASST: Brendan Gallagher (13), David Desharnais (19) 2 - 0 MTL
15:38BOS Dougie Hamilton (5) ASST: Loui Eriksson (12), Carl Soderberg (19) 2 - 1 MTL
2nd Period
11:54MTL PPG - Brian Gionta (9) ASST: Tomas Plekanec (15), P.K. Subban (29) 3 - 1 MTL
13:46MTL Daniel Briere (8) ASST: Brendan Gallagher (14) 4 - 1 MTL
3rd Period
Three Stars of the Game
Brendan Gallagher
Brendan Gallagher
G: 0Shots: 3
A: 2Hits: 1
PTS: 2PIM: 0
+/-: 2TOI: 15:38
Alexei Emelin
Alexei Emelin
G: 1Shots: 3
A: 0Hits: 6
PTS: 1PIM: 0
+/-: 1TOI: 23:33
Peter Budaj
Peter Budaj
SA: 35TOI: 60:00
GA: 1EV: 27-28
PIM: 0PP: 6-6
SV%: .971SH: 1-1
Penalty Summary
1st Period
09:18BOS Brad Marchand  Boarding against  Andrei Markov
2nd Period
01:12MTL Rene Bourque  Holding against  Chris Kelly
11:43MTL David Desharnais  Roughing against  Brad Marchand
11:43BOS Brad Marchand  Roughing against  David Desharnais
11:43BOS Brad Marchand  Roughing against  David Desharnais
17:40MTL P.K. Subban  Tripping against  Carl Soderberg
3rd Period
12:26MTL Lars Eller  Holding the stick against  Gregory Campbell
14:56BOS Dougie Hamilton  Roughing against  Brendan Gallagher
18:17BOS Milan Lucic  Roughing against  Alexei Emelin
shots by period
Team Stats
Power Plays1/40/3
Faceoff Wins3230
Blocked Shots1613
Penalty Minutes810
6D. MurrayD0012016:26
8B. PrustL0000011:54
11B. GallagherR0223015:38
14T. PlekanecC01-13019:18
15G. ParrosR001106:08
17R. BourqueR0004216:47
21B. GiontaR10-13018:10
26J. GorgesD0000021:59
32T. MoenL0001013:00
40N. BeaulieuD0012012:44
48D. BriereC112107:39
49M. BournivalL0000014:21
51D. DesharnaisC0112216:06
67M. PaciorettyL1025017:09
74A. EmelinD1013023:33
76P. SubbanD0101219:15
79A. MarkovD0110026:13
81L. EllerC0002217:41
30P. Budaj3435.97160:00
11G. CampbellC00-2009:14
12J. IginlaR0001018:33
17M. LucicL0001216:52
18R. SmithR0003017:07
20D. PailleL00-13010:10
21L. ErikssonR0102014:55
22S. ThorntonL00-2106:46
23C. KellyC00-11012:52
27D. HamiltonD1006219:36
33Z. CharaD00-13023:51
34C. SoderbergC0101012:25
37P. BergeronC00-13019:00
43M. BartkowskiD0001020:47
46D. KrejciC0013020:31
47T. KrugD00-14017:54
55J. BoychukD00-11021:45
63B. MarchandL0000617:01
86K. MillerD00-11014:47
30C. Johnson1415.93328:06
40T. Rask1518.83331:54