Three workmen were forced to escape through a bathroom window after allegedly being threatened by a man armed with a handgun.
The man, 44, has since been charged with a raft of offences after allegedly getting into a standoff with police after the trio made their escape.
Police were called to Fourth Ave in Condell Park about 11am on Thursday by the three workmen.
It is alleged they were threatened with a handgun, before escaping the property through a first-floor bathroom window.
Officers established a perimeter and called for back-up from the Public Order and Riot Squad, the Tactical Operations Unit and Polair.
The operation lasted more than two hours.
A 44-year-old man was arrested without further incident and was taken to Bankstown Police Station where he was charged with nine offences including stalking/intimidation intended to cause fear or physical harm.
He was also charged with possession of an unregistered firearm, firing a firearm in a manner likely to injure persons or property and two counts of supplying prohibited drugs.
The man has been refused bail and is due to appear before Bankstown Local Court on Friday.