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.

Sutton Schoolboy, 12, Becomes Britain's Youngest International Chess Master
Vandals Target Recently Reopened Wellholme Park in Brighouse
Bradford's Lister Park Lantern Parade Returns for Spectacular Celebration of Life
Further Man Jailed for Seven Years Over £266 Million Bradford Money Laundering Operation
Ajay Devgn's Drishyam 3 Reportedly Crosses ₹300 Crore at Indian Box Office
More Than 1,000 Dockless Bikes Seized in Westminster as Council Issues £450,000 in Penalties
Blackburn with Darwen Family Hubs Awarded Gold Certification by Young Inspectors
Man Arrested After Woman Seriously Injured in Three-Vehicle Collision on M62
Elderly Woman Suffers Life-Threatening Burns at Bradford Property
Father of Three Named as Victim in Slough Murder Investigation
Blackburn Mayor Buys Late Young Woman’s Painting for £2,000 – Then Gifts It Back to Her Family
New Bradford City Centre Partnership Launches Action Plan to Improve Safety and Cleanliness
Legal Show
Alim OnAir
Remix Saturdays
Bhangra Nights