Ireland's Sam Bennett was outsprinted at the finish of the 13th stage of the Giro d'Italia and had to settle for second place in the 180-kilometre run, which finished in Nervesa Della Battaglia.
Elio Viviani, Bennett's main rival for the sprinter's purple jersey, placed himself in the perfect position in the final 200 metres to take the stage and move further clear of the Irish man.
Carrick-on-Suir native, Bennett, who on Thursday registered his second victory of the race to become the first Irishman to win two or more stages in the same grand tour event since 1988, had to bulldoze his way past a small group in the final few metres to nick the second-placed finish on the line, with Dutch rider Danny Van Poppel (LottoNL-Jumbo) coming third.
Viviani, bouncing back after a disappointing Thursday as he added to winning stages two and three, is now 40 points clear of second-placed Bennett in the points classification.
Saturday sees the riders tackle a tough mountain stage, the 186km trail from San Vito al Tagliamento to Monte Zoncolan.
Simon Yates still has a 47-second lead in the general classification and alongside closest rival, Belgium's defending champion Tom Dumoulin (Team Sunweb), finished safely within the bunch with the same time.
Nicolas Roche remains the best of the Irish in 57th place, as Bora-Hansgrohe's Bennett sits 93rd on the general classification. Ryan Mullen is in 155th position.