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.

Uninsured Driver Jailed Over Death of Seven-Year-Old Boy in Huddersfield
Trust Appointed to Run New Specialist School in Calderdale
Man Arrested After Salford Hit-and-Run Leaves Two in Hospital
Guildford Drug Dealer Jailed After Police Recover Cocaine, Cannabis and £90,000 Cash
New Neighbourhood Improvement Programme Proposed for All 33 Leeds Wards
Bradford Woman Found Guilty of Causing Death by Dangerous Driving
Man Arrested Over Indecent Exposure Incident Near Milton Keynes School
Southwark Proposes New Housing Rules Amid Pressure on Social Housing
Ealing Council Apologises After Disabled Young Man Left Without Therapies for 14 Months
More Than 100 Flights Delayed at Manchester Airport After Air Traffic Control Issue
Calderdale Man Jailed for Historic Child Sex Offences
Barrister Jailed Over Revenge Attack Plot Linked to Kirklees Drugs Gang Feud
Legal Show
Alim OnAir
Bhangra Nights
Remix Saturdays