Police negotiators were at a Darley Dale property for nearly 14 hours over the weekend trying to talk a man out of harming himself.
Officers were called to the property in Whitworth Avenue, Darley Dale at 9.45pm on Friday night following reports that a 43-year-old man was inside and threatening to harm himself.
Contact was made with the man and officers, including trained police negotiators, were involved in trying to get him to leave the house safely.
No other people were inside the property.
Following ongoing negotiation with the man he left the house at around 11.10am Saturday.
He was subsequently arrested in connection with a separate incident of assault before being taken to hospital to be checked over.