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.

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
London Pedicab Licensing and Fare Caps Begin on Friday
£500,000 Seized in Greater Manchester High Street Crime Crackdown
Bradford Council Sets Aside £10.1m to Correct Council Tax Error
Huddersfield Man Jailed for 24 Years Over Historic Sexual Offences
Fare Dodger Admits Assaulting Police Officer at London Tube Station
Aylesbury Drug Dealer Jailed for Two Years
Leeds in Running to Host 2035 FIFA Women's World Cup Matches
Bradford Hospital Staff Unite to Rescue Stray Cat Family
Alim OnAir
Remix Saturdays
The Golden Era
Bhangra Nights