Police responded to a report of a man with a knife making threats inside a property at Wren Court, Tilgate Way, Crawley at 10.45am today (Thursday (15 July).
Officers attended and safely detained the suspect, a 41-year-old man. No injuries have been reported.
Chief Inspector Shane Baker; District Commander for Crawley said: "We are thankful to the public for their patience and understanding while this incident was ongoing.
"During this incident, a distraction device was used, which may have caused some alarm and disruption to residents.
"We would like to assure the public that nobody was harmed and there is not believed to be any ongoing threat to the local community at this time."
Anyone with information can report it online or call 101, quoting 482 of 15/07.