Patient kicked out and broke window
A hospital patient had to be restrained after he became "aggressive", punching and breaking a window.
Dean Whelan (31) was arrested for his threatening behaviour after he had gone to the hospital for treatment.
Judge Paula Murphy adjourned the case for a probation report.
Whelan, of Woodhazel Terrace, Ballymun, pleaded guilty to criminal damage and breach of the peace.
Dublin District Court heard gardai were called to St James's Hospital at 9.45pm on April 1, 2018. Whelan was arguing with security staff and gardai found him being restrained.
He was kicking out aggressively and gardai were told he had punched and broken a window, causing €300 of damage.
Separately, he trespassed in a restaurant locker room in Temple Bar on March 12, 2017, and stole a phone and purse.
Whelan had a large number of prior convictions.
He attended the hospital seeking treatment for a valid health concern, his barrister Alan Grace said.
The accused had suffered from addiction for most of his adult life.