A man suffered broken ribs when a car driven by an Otley man reversed into him, a jury was told.
David Emsley was pinned between the back of the car and railings when Simon Waters reversed into him a second time, a court heard.
Waters, 40, of Cross Green, Otley, denies causing grievous bodily harm with intent and an alternative charge of inflicting grievous bodily harm.
Prosecutor David McGonigal said Mr Emsley, and his wife Sharon, were in The Fox, Menston, as were Waters and his partner and her two children.
The two parties did not know each other. Mr McGonigal said words were exchanged and Mr Emsley would say the defendant was staring at him and at one point walked past and made a remark, which Mr Emsley ignored.
Mr McGonigal said both parties left and further words were exchanged between the defendant and his partner and Mr Emsley in the car park.
He said there was swearing and Waters made a gun gesture with his hands, shouting: “I am going to kill you.”
Mr McGonigal said Waters got in a Ford Galaxy and as he drove away, he reversed, almost colliding with Mr Emsley. He caught his hand, causing bruising. Police were called. But soon after the defendant returned. Mr Emsley was standing by some railings and it is alleged Waters deliberately reversed into him, pinning him between the the vehicle and the railings. He then drove off.
Mr McGonigal said: “The Crown say that was a deliberate piece of driving. He had deliberately returned to the pub to seek out the complainant and cause him injury. He used that vehicle as a weapon and caused grievous bodily harm.”
Waters told police it was an accident.
The trial at Bradford Crown Court, continues.