Four people were injured when shots were fired in Halifax on Friday afternoon.
Two men have now been arrested in connection with the incident which took place close to the Asda supermarket on Spring Hall Lane at 3.45pm.
Police believe that an air weapon was used to fire the shots.
Those taken to hospital were described as suffering from minor injuries.
Police patrols remain in the area to provide reassurance to the local community.
Two men aged 18 and 21 were arrested and remain in police custody.
Enquiries are on-going and police are appealing for anyone with information to contact West Yorkshire Police on 101.

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
Leeds Man Jailed for 19 Years for Offences Against Three Women
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
Oxford Man Jailed for 17 Years for Serious Offences Against Woman
First Phase of £19.1m Brighouse Town Centre Transformation Completed
New £2,500-a-Day Roadworks Charges Introduced Across West Yorkshire
Two Men Injured in Charing Cross Road Stabbing
Remix Saturdays
Alim OnAir
Legal Show
The Golden Era