Police are appealing for information on two incidents in Batley which are believed to be linked.
The first occurred at about 5.56pm Friday when police received reports of a red Audi being pursued by occupants of a silver or grey Volvo along Upper Road.
The pursuit is believed to have travelled along the road and into Halifax Road, towards the car park of Staincliffe Hospital.
One of the passengers of the Volvo was seen leaning out of the window and was possibly holding a gun, although no shots were fired.
Then at 1.30am yesterday, police were called to Conway Crescent after receiving reports of gunshots being heard in the area.
Armed police were deployed to the area, but the premises were found to be empty.
Police are treating these incidents as targeted attacks and are appealing for further information.
Detective Chief Inspector Steve Snow, of Protective Services (Crime), said: “Due to the manner in which these two cars were seen driving and the fact they entered a hospital car park, we believe that someone will have witnessed the incident or perhaps made a note of their registration plates, as they nearly caused a collision with other vehicles as they entered Halifax Road from Upper Road.
“We would like to speak to anyone who witnessed cars of these descriptions driving erratically in the area at just before 6pm yesterday, or anyone who saw a silver/grey Volvo V60 being abandoned in suspicious circumstances at any time after 6pm.
“We would also like to hear from anyone who saw a black car leaving Conway Crescent around the time that the shots were heard.
“High visibility patrols will continue in the area today and will speak to residents about any concerns they may have.”
Anyone with information on either incident is asked to contact police on 101 or Crimestoppers on 0800 555111.