A driver, surnamed Su, who threw a cup of coffee at a moving car was sentenced to 3 months' detention for dangerous driving by the Chaoyang District People's Court in Beijing on Wednesday.
The case drew widespread attention after a video of the incident went viral on Sept 21.
Su became involved in a dispute with a motorist, surnamed Wang, who was trying to merge his white sedan into traffic on a busy road in Beijing.
The court said Su sped to catch up with Wang's sedan, cut him off several times by breaking hard and eventually threw a cup of coffee at the white car's windscreen.
Wang posted footage from his car camera the same day the incident occurred.
Police said Su's actions seriously affected road safety and he should be punished according to the Criminal Law. Su pleaded guilty and did not appeal the verdict.