A man has been charged with attempted robbery following a failed raid at a pub in Dublin on New Year's Day.
Gardaí arrested 33-year-old Derek Foran after he was detained by patrons at the Speaker Conolly pub.
Mr Foran, from Allenton Avenue, Tallaght, appeared before Dublin District Court charged with the attempted robbery of the pub's acting manager.
He has not yet indicated how he will plead.
He was brought to appear before Judge John King where Garda James Ward gave evidence of the arrest.
Garda Ward objected to bail, citing the seriousness of the case as well as fears the accused would interfere with witnesses or would not turn up up to court.
He said Mr Foran was arrested at the pub at 11.40pm on 1 January and was charged at just after 8pm yesterday after which he "made no reply", the court heard.
Defence counsel John Griffin made an application for bail and said his client, who did not address the court, was unemployed and on social welfare.
He told Judge King Mr Foran had one dependent and resided with his mother.
Judge King said the objection to bail was not very strong. However, he added that the accused was facing a serious charge and an independent surety would be required.
He set bail in Mr Foran's own bond of €300 with a €1,000 surety, of which half must be lodged in cash.
He also ordered him to abide by a number of bail conditions, including that he reside at his current address, abide by a curfew, sign on daily at Tallaght Garda Station, and to stay out of the Firhouse area.
Mr Foran was remanded in custody with consent to bail on these terms and will face his next hearing on 9 January at Cloverhill District Court.
The judge also acceded to a defence request to recommend that Mr Foran would get necessary medical attention in custody.
Mr Griffin told the court the accused had two fractured ribs, a fractured finger and had needed 30 stitches to his head and had a hospital appointment later this week.
Legal aid was granted.