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.

Man Charged After Islington Shopping Centre Stabbing as Police Hunt Gunman
Two More Arrested in £1 Million University of Greater Manchester Fraud Investigation
Bradford Florist Burgled Just Weeks After New Owner Takes Over
Bradford Woman Jailed for 10 Years Over Fatal 143mph Lamborghini Crash
West London Homes Cracking as Residents Blame HS2 Tunnelling
Man Seriously Injured in Uxbridge Bus Attack
Two Charged Over Historical Child Abuse in Bradford
Man Convicted of Rape in Leeds Hyde Park Area
Over Half of London Women Feel Unsafe Exercising After Dark
Woman Fighting for Life After Bradford Stabbing
Lamborghini Crash Driver Arrested at Hospital After Missing Sentencing
Six Men with London Links Feature on NCA Most Wanted List
Legal Show
Alim OnAir
Remix Saturdays
The Golden Era