A man has appeared at Dublin District Court charged with eight offences including three threats to kill and two counts of demanding money with menaces.
Mark Salmon, 31, with an address at Kilbarron Avenue in Kilmore in Dublin 5 is also charged with two threats to cause criminal damage and one count of causing criminal damage.
The father of two was arrested at an address in The Kilns in Portmarnock on Thursday morning.
It relates to a number of incidents in north Dublin on dates in March and April this year in connection with an alleged drugs debt.
Detective Sergeant Domhnall O'Connell told the court the accused made no reply after he was charged and cautioned last night.
Defence barrister Karla Ray applied for bail.
She said her client would adhere to "very onerous conditions" and she said a member of the accused's family would provide an independent surety.
Det Sgt O’Carroll objected to bail on the grounds of what he said was the seriousness of the charges and possible witness interference.
After considering the matter, Judge David McHugh, who described the charges as very serious, granted the bail application subject to a number of strict conditions.
They include an independent surety of €5,000, the accused’s own bond of €500, signing on daily at Ballymun Garda Station and residing at a named address handed into the court.
Mr Justice McHugh also ordered Mark Salmon to adhere to a curfew between 11pm and 6am and to provide gardaí with a mobile number within 24 hours of taking up bail.
The accused was also ordered to surrender his passport and undertake not to apply for any travel documents as well as not contacting any of the witnesses in the case.
He has been remanded in custody with consent to bail to appear before Cloverhill District Court on Tuesday 21 May for the independent surety to be approved.
Ms Ray also made an application for free legal aid for her client, a decision on which has been adjourned until a later date.
Mr Salmon made no comment during his court appearance other than to consult with his legal counsel.
He was supported in court by his parents and his partner.