Gianni Moscon finished fourth after a brutal day of racing in the men's elite road race at the Yorkshire World Championships.
Moscon slipped away from the leading quartet with five kilometres to race, but dug in to finish fourth, a one-place improvement on his fifth in Innsbruck last season.
Tao Geoghegan Hart was the first British finisher, crossing the line in 26th, with Ben Swift home in 30th having been distanced from the peloton on the final lap. Of the 196 starters, only 46 riders finished after a gruelling day out in almost constant rain.
The day's early break, containing Grand Tour winners Primoz Roglic, Nairo Quintana and Richard Carapaz, was kept on a tight leash by the peloton, before being swept up on the first of nine laps on Harrogate's 14km finish circuit.
The race then settled into a steady rhythm, before attacks started to fire with 60km to race. Stefan Kung - who went on to finish third - and Lawson Craddock hit out, prompting Team INEOS rider Dylan van Baarle to put in a strong stint at the head of the bunch to keep the duo in check for his Dutch teammates.
Moscon, Trentin, Pedersen and Mathieu van der Poel eventually bridged across and with the peloton dwindling behind the chase lost impetus. It quickly became apparent the world champion would come from the leading quintet.
When Van der Poel cracked Trentin looked to be the favourite, but it was Pedersen who prevailed on the drag to the line in central Harrogate.
Ben Swift: "That was a hard day today. My body didn’t ;et me have it. I’ve been fighting something a little bit and gave it my best shot. It was a grim old day and I just had nothing left at the end.
1. Mads Pedersen (Denmark) 6:27:28
2. Matteo Trentin (Italy)
3. Stefan Kung (Switzerland) +2"
4. Gianni Moscon (Italy) +17"
5. Peter Sagan (Slovakia) +43"
26. Tao Geoghegan Hart (Great Britain) +2:20"
31. Ben Swift (Great Britain) +6:38"