At 1.56pm on Saturday, police received a report of a domestic-related malicious communications offence.
Shortly after 1pm on Sunday, officers carried out enquiries to trace the suspect at an address at St Helena’s Caravan Park, in Bramhope.
The male produced what appeared to be a firearm and the officers withdrew.
An operation involving firearms officers and negotiators was put in place to bring the incident to a safe conclusion.
At 12.42pm today, a 56-year-old man was detained at the scene without incident and taken into custody.
Chief Inspector Pete Hall, who heads neighbourhood policing for Leeds District, said: “We would like to thank the residents of the park and anyone else affected for their patience while we worked to bring this incident to a safe conclusion.”