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.

West London Parents Fight Against Primary School Relocation
Milton Keynes Music Venue Costs Rise to £100 Million
Campaigner Backs Review of Bradford's Halal Meat Policy
Police Appeal After Violent Bradford Burglary Targeting Gold Jewellery
Harrow to Introduce London's Highest Littering Fines
Prolific Accrington Shoplifter Jailed for 20 Weeks
Bradford Welfare Spending More Than Double Income Tax and NI Contributions
Bradford Driver Jailed for Nine-and-a-Half Years Over Fatal Crash
Teenager's Interest in Extremist Material Revealed in London School Attack Trial
Manchester Central Library to Unlock Thousands of Historic Sound Recordings
Bradford Mosque Planning Appeal Dismissed Over Parking Concerns
Fourth Man Charged Over Leeds Murder
Alim OnAir
The Golden Era
Bhangra Nights
Legal Show