Terrence Fury, 34, had a history of disagreement with the man prior to the incident in Malton, Brooke Morrison charged.
The man approached the car he was driving on May 21, 2023, but was stopped at a junction at PC Hill.
The argument continued that anger continued in the driver's seat and the other man standing outside the car.
During the argument, Fury took a bottle of pepper spray from inside the car and drained it into the man's face, Morrison said.
He later disposed of the Derwent River bottle.
“All you should have done is drive-off,” York recorder Judge Sean Morris told Fury.
Fury, of Plow Court, Malton, pleaded guilty at a previous hearing to assault causing actual physical harm.
York Crown Court heard that Fury bought pepper spray to protect herself after a previous argument with the man.
Morrison said Fury claimed that the other man was an invader and that he blew him into self-defense.
The man said in a victim's impact statement read in court that he was unable to work for a while as a result of pepper spray.
He also suffered from flashbacks and sleepless nights due to the incident.
Nick Peacock told the court for Fury:
He said past events mean that the pair “will never make eye contact with each other.”
Fury used to train racehorses, but due to legal procedures, he no longer fell into his profession, the court heard.
Peacock said his father of three, Fury, worked as a delivery driver, but he wanted to professionally return to racing horses.
“I'll put your child first,” the judge told the defendant.
Judge Morris said Fury “showed there was a realistic possibility of rehabilitation,” and said he had “three young children in need of a father.”
He told Fury: You don't hang out for trouble.
“And you don't buy illegal substances to protect yourself.”
He added:
The judge said the school's report showed anger was a “good father.”
“But this isn't a good example, it stands there (on the dock).
“Please be a good example for them,” he told the defendant. “Put your child first.”
Fury was handed a 14-month prison sentence on Wednesday (February 26) for 12 months of 100 hours of unpaid community work. He also has to pay the victim's extra fee.
“Now take care of your family,” the judge said before Fury was released from the dock.