A man has been charged after allegedly brandishing a knife near a school in Dublin city centre

Gardai have charged a man who was arrested in Parnell Square in Dublin city center on Tuesday morning for allegedly brandishing a knife near a school.

GardaĆ­ are understood to know him from previous incidents relating to his mental health and behavior in public places.

He remains in Garda custody and is due to appear before No. 1 Criminal Court on Wednesday at 10.30am.

The investigation into the incident is ongoing.

The man is around 30 years old and is probably Irish.

The incident comes close to a shocking knife attack outside the school in November last year which left a five-year-old girl and a nursery worker in a critical condition and two other young children injured.