A man has been sentenced to 12 years in prison following a firearms discharge at Huddersfield Carnival last year.
Jenson Williams, 26, from Huddersfield was charged last year with possession of a firearm without a certificate and possession of ammunition in connection with an investigation into a firearms discharge in Great Northern Street, Huddersfield, in July 2018.
A 9mm pistol was discharged during the incident and damage caused to a car.
No-one was injured as a result of the discharge and police recovered the firearms which were used.
Williams also pleaded guilty to a separate offence of Section 18 wounding with intent which relates to an incident in April 2017 in Bradford where a man was stabbed.
Williams appeared at Bradford Crown Court and was sentenced to 12 years in prison; 6 years for possession of a firearm and 7 years for Section 18 wounding with intent.
Another man, Theo Hall, 26, from Huddersfield, was found guilty of conspiracy to commit S18 wounding with intent in connection with the Bradford incident and was also jailed for 9 years for his involvement.
Detective Superintendent Chris Gibson, of West Yorkshire Police, said: "A large-scale investigation was conducted by West Yorkshire Police into this incident in the summer last year.
"We are pleased that Williams has been handed a significant sentence for his involvement.
"Serious and violent crime will not be tolerated in Kirklees, or across any of the Districts in West Yorkshire and this sentence will highlight the severity of the offences committed.
"I hope this will act as a warning to those criminals who carry and use firearms and weapons that this behaviour is completely unacceptable and anyone who uses illegal firearms on the streets of West Yorkshire will be dealt with accordingly."

Bradford Rotary Groups Raise Around £4,000 for Nepal Flood Relief
Uninsured Driver Jailed Over Death of Seven-Year-Old Boy in Huddersfield
Trust Appointed to Run New Specialist School in Calderdale
Man Arrested After Salford Hit-and-Run Leaves Two in Hospital
Guildford Drug Dealer Jailed After Police Recover Cocaine, Cannabis and £90,000 Cash
New Neighbourhood Improvement Programme Proposed for All 33 Leeds Wards
Bradford Woman Found Guilty of Causing Death by Dangerous Driving
Man Arrested Over Indecent Exposure Incident Near Milton Keynes School
Southwark Proposes New Housing Rules Amid Pressure on Social Housing
Ealing Council Apologises After Disabled Young Man Left Without Therapies for 14 Months
More Than 100 Flights Delayed at Manchester Airport After Air Traffic Control Issue
Calderdale Man Jailed for Historic Child Sex Offences
Remix Saturdays
Alim OnAir
Legal Show
The Golden Era