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.

Bradford Homes, Hospital and Schools to Benefit from £9.7m Heat Network Expansion
Tributes Paid to Former Buckinghamshire High Sheriff Peter Kara
Calderdale House Builder Fined £300,000 After Worker Suffers Serious Spinal Injuries
Bradford Youth Orchestra Hits the Right Notes on German Tour
Wakefield Man Charged Over A61 Crash That Killed Six People
Calls for New Bus Route to Connect Growing Milton Keynes Communities
West London ANPR Camera Plan Sparks Row Between Neighbouring Councils
Eight Men Appear in Bradford Court Over Alleged Cockfighting Offences
Man Jailed for 14 Years Over 20kg Heroin Plot in Leeds
Former Senior Church Figure Jailed for Historical Sexual Offences
Free Fireworks Displays to Return to Manchester Parks
Bradford Woman Jailed After Committing Burglary Just 14 Days After Suspended Sentence
Alim OnAir
Remix Saturdays
Legal Show
The Golden Era