A driver tried to shake a cyclist off his bonnet by repeatedly braking and swerving around a busy city street.
Motorist Bernard Anderson, 32, started arguing with Iain Thomson after an incident in Edinburgh's Johnston Terrace in November 2011.
On Tuesday, Edinburgh Sheriff Court heard Mr Thomson, 32, jumped onto Anderson's car during the angry confrontation.
Anderson responded by driving off. He then started to swerve around the road in an attempt to force Mr Thomson off the car. Witnesses also saw him applying his brakes on more than one occasion.
The motorist drove for about 100 metres before the biker fell off and hit the ground.
On Tuesday, Anderson, from Edinburgh, pleaded guilty to dangerous driving.
Depute fiscal Isabel Clark said Mr Thomson was cycling to work when he confronted Mr Anderson in Johnston Terrace.
The court heard Mr Thomson grabbed hold of the wing mirror on Anderson's car and then jumped onto the vehicle.
Ms Clark told the court: "The cyclist dismounted from his bicycle and was seen by the witnesses lying on the bonnet of the car being driven by the accused.
"The witnesses could see the car swerving from side to side. It was braking sharply in a bid to get Mr Thomson off the car. Mr Thomson was then seen coming off the bonnet of the car and he fell onto the ground. This was seen by witnesses in the street.
"The distance that was driven was about 100 metres and I understand Mr Thomson sustained minor injuries - he had a soft tissue injury to his finger. He was taken to Edinburgh Royal Infirmary Hospital where he was treated."
Sheriff Michael O'Grady QC deferred sentence on Anderson until next month for background reports.