Police and English Defence League supporters clashed this afternoon in central Keighley.
Members of the far-right campaign group had gathered on Church Green to demonstrate against sexual grooming.
Dozens of police officers were deployed to ensure the demonstration passed without incident.
Up to 200 people, including young families and local people, gathered on the outskirts of Church Green to watch.
Around 160 EDL supporters, shouted, chanted, waved banners and listened to speakers at Keighley's market cross.
At least two fireworks were let off, and at various times groups of demonstrators tried to break out into neighbouring streets.
They were forced back by lines of police officers, including several on horseback, who contained the demonstrators in the designated area.
Counter-demonstrators stayed away from the event, except a small group at the Low Street side who were kept separate from the EDL supporters.
Community leaders, including local councillors and youth workers, had patrolled nearby streets to encourage young people to stay away from the demo.
The EDL supporters -- who came from as far afield as Stockport and the North East - were eventually shepherded on to double-decker buses in Church Street and transported out of the town centre.
Airedale and North Bradford divisional commander Chief Superintendant Ian Kennedy said he was very pleased with how the policing of the event went.
He said: "The community of Keighley pulled together and did not rise to any provocation.
"The day passed without serious incident and the community of Keighley can be extremely proud of how they dealt with the demonstration.
"I'd also like to thank all partners who have done a fantastic job in assisting us to ensure the day concluded positively."
There were a small number of arrests during the demonstration.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules hereComments are closed on this article