A teenage male has been arrested, and a shotgun and ammunition have been secured following an incident at a house in Co Donegal.
A garda operation had been under way at the house in Letterkenny since Wednesday morning, when the teenager barricaded himself into the property.
It was confirmed that he had access to firearms and ammunition.
No other person was in the house.
Gardaí said the incident was resolved "peacefully" in the early hours of this morning following the intervention of the Garda Emergency Response Unit.
Nobody was injured during the operation and the shotgun and ammunition were safely secured at the scene, gardaí said.
A media blackout had been observed during the incident, which lasted 54 hours.
In a statement, Minister for Justice Charlie Flanagan said: "I want to commend all the members of An Garda Síochána, the other dedicated public service professionals, along with vital family and community support who worked tirelessly for the past two days to successfully resolve a sensitive incident in Donegal and bring matters to a safe conclusion.
"The outcome is a testament to the professionalism and expertise of all those involved. I also want to express my gratitude to the media for their responsible attitude and cooperation with the authorities during the incident."