London - Mark Cavendish was beaten in a photo-finish sprint to the line by Elia Viviani in the opening stage of the Tour of Britain from Beaumaris to Wrexham in North Wales on Sunday.
The Etixx Quick-Step rider looked set to take the win at the end of a 177km stage featuring 3,000m of climbing but Team Sky's Italian Viviani edged it by the slenderest of margins.
Germany's Andre Greipel, who won four stages at this year's Tour de France, was third.
Former Tour de France winner Bradley Wiggins, riding for his Team Wiggins, finished in the main bunch.
The eight-stage race finishes in London next weekend.