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.

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
Bradford Driving Instructor Jailed for Assaulting Four Women
Southall Sweet Shop Fined Over £11,000 After Repeated Pest Infestations
Police Respond to Masked Demonstration in Stockport Town Centre
Five Bus Depots to Be Bought for West Yorkshire's Weaver Network
Legal Show
Remix Saturdays
Bhangra Nights
Alim OnAir