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.

ANPR Cameras Planned to Tackle Rat-Running in West London
Manchester's £30m Investment Delivers Cleaner Streets and Better Neighbourhoods
Bradford Man Charged with Murder and Attempted Murder After Two Women Attacked
Bradford Councillor Ibrar Ali Seriously Injured in Stabbing as Man Arrested
Ayushmann and Sharvari's New Film Challenges Marriage Traditions
Parents Fight Plans to Close West London Primary School
Burnley Man Charged Over Seven Business Burglaries
Bradford Men Arrested After Violent Jewellery Robbery Leaves Worker Fighting for Life
Man Seriously Injured in Halifax Assault as Police Make Arrest
Croydon Mayor Calls for Major Rail Upgrade to Unlock Growth
West London Street Named Second Coolest in the World
Leeds Police Operation Targets 36 Homes Linked to Crime and Anti-Social Behaviour
The Golden Era
Bhangra Nights
Alim OnAir
Remix Saturdays