Shots were fired at gardaí responding to an armed siege at a house in Co Sligo.
Officers were called following suspicious activity at a property around 3km outside Sligo town on the Strandhill Road, known locally as Scardenmore.
Gardaí spotted damage to a patio door and found a man in his 30s in the house carrying a firearm.
The man fired a shot in the direction of officers who retreated to their patrol car.
A Regional Response Unit attended the scene and the man fired further shots. Gardaí then returned fire.
The man barricaded himself into the house and a critical incident was established.
Two cordons were put in place around the property and a number of neighbouring homes were evacuated.
Negotiators attended the scene and the main Sligo to Strandhill road was closed for safety reasons.
The man left the house at around 1.30pm and was arrested. A licensed shotgun has been recovered.
The property is believed to be a family home and no other family members were present.