A gunman told armed police "just shoot me, just shoot me" after firing shots at officers in a tense stand-off in Swindon, according to a witness.
The man, described as bald, topless and with tattoos, surrendered after shooting at armed officers during the hour-long incident yesterday evening (Wednesday 28 August).
Drinkers were locked in nearby pubs as the incident unfolded in the Lower Stratton area of the town.
Wiltshire Police said a 31-year-old local man was arrested.
One witness, who did not wish to be named, posted a video of an officer shouting "come to the window with nothing in your hands".
The 31-year-old man was arrested on suspicion of possession of a firearm, criminal damage and common assault.
He has been taken to Gablecross police station and is currently in custody.
Inspector Andy Bridge, from Swindon North Community Policing Team, said:
During the incident shots were fired at police officers, but nobody was hurt.
A woman in her 60s was taken to hospital in Bristol after suffering a medical episode during the evening but was not injured as a result of the incident.