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.

Major £950 Million Feltham Regeneration Plans Move Forward
Morley Town Centre Set for £1.1 Million Transformation
Bradford Council Pushes for Through-Line Railway Station
Bradford Youth Justice Service Rated 'Inadequate' After Inspectors Uncover Serious Failings
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
Bhangra Nights
The Golden Era
Legal Show
Remix Saturdays