Enquiries remain ongoing by detectives in the Major Enquiry Team into a firearms discharge on Huddersfield Road, Liversedge on Monday evening.
Officers are continuing to appeal for anyone who witnessed the incident at around 7.10pm, or who witnessed a small dark coloured vehicle driving in the area to come forward.
A police cordon remains in place on Huddersfield Road while officers conduct enquiries.
Two men were taken to hospital for treatment for gun-shot injuries. The 27-year-old man has since been discharged from hospital and has been arrested for an unrelated offence.
The 22-year-old man remains in hospital with non-life threatening injuries.
Detective Superintendent Mark Swift said: “Clearly this incident has caused understandable concern in the community and extensive enquiries are underway to identify those involved.
“The discharge of any firearm in a public place is an extremely serious matter and something police will absolutely not tolerate.
“There will be an increased policing presence and high visibility patrols in the area to offer reassurance to the community.
“I would continue to appeal for anyone with any information or anyone who witnessed any suspicious activity in the area on Monday to contact police.”

Man, 35, Named as Victim of Fatal Enfield Pub Shooting
Full Leeds Route Revealed for 2027 Tour de France Femmes
Bradford Solicitor Filmed Allegedly Advising How to Avoid £45,000 Immigration Fine
Teen Driver Sentenced After 90mph Police Chase Through Halifax
Girl, 10, Suffers Chemical Burns After Glitter Phone Case Leaks
Two Men Charged Following Keighley Café Break-In
£100m Drugs Gang Ringleader Ordered to Pay Back £260,000
Man Jailed for Defrauding Two Elderly Women of Over £5,000
Calderdale Named Among England's Top 25 Places for Children
West Yorkshire Police Officer Found Guilty of Rape
New Bradford Railway Station Planned at Interchange Site
Alim OnAir
Bhangra Nights
The Golden Era
Remix Saturdays