Detectives investigating a firearms discharge on Marina Terrace in Huddersfield on Saturday have charged three males.
Kyle Marsden, 24, from Huddersfield, has been charged with attempted murder and possession of a firearm with intent. He has been remanded into custody and will next appear at Leeds Crown Court on 9 May.
A 17-year-old male has been charged with possession of an offensive weapon, affray and threatening a person in a public place with a bladed article.
A 14-year-old male has been charged with affray and possession of offensive weapon.
Both youths have been bailed and will also appear at Leeds Crown Court on 9 May.

Controversial 500MW Solar Farm Spanning Milton Keynes and Northamptonshire Approved Despite Environmental Concerns
Nine People Charged with 49 Offences Following Major Police Raids in Rochdale
Calderdale Youth Justice Service Praised for Supporting Young People Despite Inspection Rating
Bradford Driver Jailed After Ramming Police Car in Huddersfield
Labour Loses Control of Hounslow Council After Councillor Charged with Fraud
Manchester Communities Invited to Apply for Remembrance Sunday Grants
Keighley Women and Children’s Centre Completes Major Expansion
Milton Keynes Man Convicted of Daesh-Related Terrorism Offences
Leeds Bradford Airport Workers Announce 48-Hour Strike
Bradford Youngsters to Mark World Food Day with Cookery Challenge
Four Men Charged Following Series of Warrants in Rochdale
Bhangra Nights
Legal Show
The Golden Era
Alim OnAir