Elia Viviani claims Tour of Britain lead from Caleb Ewan after stage 4

Team Sky's Elia Viviani claimed the green jersey, despite narrowly missing out on the stage win. KT/Tim De Waele/Corbis via Getty Images

Fernando Gaviria inched past Team Sky's Elia Viviani to prevail in the Tour of Britain's fourth stage.

Quick-Step Floors star Gaviria won the 165km stage from Mansfield to Newark, but Viviani assumed the overall lead from Caleb Ewan.

Colombia's Gaviria held off both Viviani and Alexander Kristoff for the victory, in a stage bristling with drama as America's Brent Bookwalter was forced out of the competition.

Bookwalter crashed into a car parked close to a tight corner and was forced to withdraw from the race, in an incident where several other riders also crashed.

Orica Scott rider Ewan is level on time with Viviani with four stages remaining, but has lost the green jersey with the Italian boasting greater consistency.

Gaviria now sits third but trails by just six seconds, with Thursday's fifth stage a 16km time trial in Essex's Clacton-on-Sea.