A man involved in an armed siege in which a police officer was shot has died.
West Yorkshire Police said the 42-year-old suffered gunshot wounds after officers returned fire at an address in the Kirkheaton area of Huddersfield.
A spokesman said: "We regret that the incident at the house did not conclude peacefully as we had hoped and can confirm that the man taken to hospital from the address has now died. We are not in a position to name him at the moment."
The man initially opened fire on officers as they attempted to arrest him at around 10pm on Monday night.
A male PC was hit by a bullet and suffered minor injuries when the man took aim at uniformed officers from his doorstep.
The gunman then returned inside the property before continuing to fire at police.
Teams of armed officers cordoned off the area and surrounded the "isolated" address following the incident, and a tense stand-off followed.
A spokesman for West Yorkshire Police said: "Just after 10pm yesterday officers attended a domestic address in the Kirkheaton area of Huddersfield to arrest a man following an incident earlier in the day. The man produced a gun and fired at the officers. A male officer in his 20s was hit and attended hospital for minor injuries but has since been discharged."
The spokesman said police tried to resolve the situation peacefully although shots were "continually" fired at officers.
Police attended the address to arrest the man on suspicion of making threats towards another man at a nearby property earlier in the day, the spokesman added. The gunman was thought to have been alone in the property.