Vincenzo Nibali secured the 2013 Giro d'Italia title as Britain's Mark Cavendish won his fifth stage to take the red points leader's jersey.
Italy's Nibali finished in the pack to win by four minutes 43 seconds from Rigoberto Uran, with Cadel Evans third.
Cavendish, 28, won both intermediate sprints on the flat 197km stage to overhaul an 11-point deficit on Nibali before edging the sprint finish.
He is only the fifth rider to win the points jersey on all three Grand Tours.
Cavendish won the equivalent classifications at the 2010 Vuelta a Espana and 2011 Tour de France and his feat at this year's Giro sees him join a group containing Uzbekistan's Djamolidine Abdoujaparov, Italy's Alessandro Petacchi, France's Laurent Jalabert and Belgian legend Eddy Merckx.
The Isle of Man rider is also the first sprinter in five years to win the Giro's red jersey.
"I'm so so happy," he said. "It couldn't have been closer coming down to the last day. Everyone knew I was going to go for the intermediate sprints and I was lucky that there are some gentlemen in the peloton."
The race into Brescia was largely processional but Cavendish reduced his deficit to Nibali to three points with an uncontested victory in the first intermediate sprint and he then took the lead in the competition by winning the second sprint on the fourth of seven 4.2km laps around Brescia.
There was some confusion around the second intermediate sprint with Cavendish thinking he has picked up the eight points for being first over the line on the second lap.
With no confirmation of points forthcoming, he led the peloton over the line on lap three, only to find out that lap four was the one that would count.
"We didn't know which lap we were sprinting for," Cavendish admitted after the race. "But then we took control and didn't panic for the headwind finish."
Cavendish, who outsprinted Italian duo Sacha Modolo and Elia Viviani, picked up 25 points for winning the stage and a further 16 in the intermediate sprints to end on 158 points, 30 clear of Nibali.
As race leader, 28-year-old Nibali, who was born in Sicily, was more concerned with staying out of trouble and making sure he reached the finish line unscathed to collect his second Grand Tour victory, to add to his win at the 2010 Vuelta a Espana.
"I'm very happy," he said. "It was a really unique emotion hearing all the fans cheering for me. `I really enjoyed this stage. It was unbelievable seeing all those people along the road. This victory crowns a life's dream.
"I'm very emotional. It's beautiful, the whole team was very strong and they've done a great job all along. It is a beautiful day for me."
Colombia's Carlos Betancur won the best young rider's white jersey while Stefano Pirazzi of Italy won the King of the Mountains classification.
Cavendish will be looking to clinch a second green points jersey in the Tour de France, which starts on 29 June.
Stage 21 result:
1. Mark Cavendish (GB/Omega Pharma - Quick-Step) 5:30:09"
2. Sacha Modolo (Ita/Bardiani Valvole) Same time
3. Elia Viviani (Ita/Cannondale)
4. Giacomo Nizzolo (Ita/RadioShack)
5. Luka Mezgec (Slo/Argos)
1. Vincenzo Nibali (Ita/Astana) 84:53:28"
2. Rigoberto Uran (Col/Team Sky) +4'43"
3. Cadel Evans (Aus/BMC Racing) +5'52"
4. Michele Scarponi (Ita/Lampre) +6'48"
5. Carlos Betancur (Col/AG2R) +7'28"
Final points standings:
1. Mark Cavendish (GB/Omega Pharma - Quick-Step) 158 points
2. Vincenzo Nibali (Ita/Astana) 128
3. Cadel Evans (Aus/BMC Racing) 111
4. Carlos Betancur (Col/AG2R) 108
5. Giovanni Visconti (Ita/Movistar) 105