Mark Cavendish missed out on victory on stage one of the Tour of Britain as Italy's Elia Viviani won with a well-timed sprint at Drumlanrig Castle in Scotland.
Cavendish's Omega Pharma - Quick-Step team had spent most of the day on the front of the peloton but his lead-out broke down in the final kilometre and he eventually finished 12th.
Viviani (Cannondale) claimed the glory after following an initial burst from Gerald Ciolek (MTN-Qhubeka) and then emerging from the German's slipstream to win by a bike's length.
Ciolek was also pipped into second place by Alessandro Petacchi (Omega Pharma - Quick-Step), who had been working for Cavendish but ploughed on alone and sprinted for the line after the Briton failed to come past him.
Cavendish loses touch
Cavendish had been on Petacchi's wheel going into the final 750m, but he then lost contact as riders jostled for position and subsequently became boxed in beside the barriers. By the time he had space in front of him again, Ciolek and Viviani were already sprinting and were too far ahead to be caught.
With bonus seconds, the result means Viviani now leads the race overall by four seconds from Petacchi and six seconds from Ciolek.
Sir Bradley Wiggins is ninth overall, nine seconds down, after claiming one bonus second by finishing third in the day's final intermediate sprint.
Viviani's victory came at the end of a day in which Scotland threw its full array of weather at the riders, with early heavy rain and strong winds being followed by sunshine in the later part of the 209.9km stage.
Late attacks fall short
Five men - Kristian House (Rapha Condor JTL), Ben Greenwood (IG Sigma Sport), Peter Hawkins (IG Sigma Sport), Christophe Laborie (Sojasun) and Aaron Gate (AN Post Chain Reaction) - broke away from the peloton shortly after a wet start in Peebles and opened up a gap of more than five minutes, but with gusts hitting them head on, their progress was slowed and their lead consequently fell to around the two-minute mark.
It plummeted to beneath a minute as they started up the day's final categorised climb, and they were soon superseded as race leaders when Anthony Delaplace (Sojasun) attacked out of the main bunch as the road reared up and quickly overtook them.
The Frenchman quickly opened up a gap of 30 seconds and went on to stretch that to over 1min 30sec going into the final 30km, but an upping of the pace by Team Sky on the front of the chasing pack put paid to his efforts and he was swallowed up 14km from home.
After Britain's Alex Dowsett (Movistar) saw a short-lived attack fall short, the sprint trains started to muster at the head of the race and it was Cannondale who were celebrating after delivering Viviani in prime position.
Stage one result
1 Elia Viviani (Ita) Cannondale, 6:04:43
2 Alessandro Petacchi (Ita) Omega Pharma-Quick-Step, same time
3 Gerald Ciolek (Ger) MTN Qhubeka, st
4 Marco Coledan (Ita) Bardiani Valvole-CSF Inox, st
5 Matteo Pelucchi (Ita) IAM Cycling, st
6 Evaldas Siskevicius (Ltu) Sojasun, st
7 Shane Archbold (Aus) An Post-Chain Reaction, st
8 Jonathan Dibben (GB) Great Britain, st
9 Steele Von Hoff (Aus) Garmin-Sharp, st
10 James Williamson (NZ) Node4-Giordana
1 Elia Viviani (Ita) Cannondale, 6:04:33
2 Alessandro Petacchi (Ita) Omega Pharma-Quick-Step, +4secs
3 Gerald Ciolek (Ger) MTN Qhubeka, +6
4 Aaron Gate (NZl) AN Post-Chain Reaction, +6
5 Christophe Laborie (Fra) Sojasun, +6
6 Anthony Delaplace (Fra) Sojasun, +7
7 Nathan Haas (Aus) Garmin-Sharp, +8
8 Peter Hawkins (Irl) IG-Sigma Sport, +8
9 Bradley Wiggins (GB) Team Sky, +9
10 Marco Coledan (Ita) Bardiani Valvole-CSF Inox, +10
18 Mark Cavendish (GB) Omega Pharma-Quick-Step, +10