A 19-year-old student has appeared at Dublin District Court charged with possession of a sword inside the gates of Leinster House yesterday.

Dublin District Court was told Jordan Buckley had "no one particular person or target in mind" when he was arrested yesterday afternoon.

However he must now stay out of Dublin 2 and is banned from most government buildings and departments when released on bail.

Mr Buckley from Kells Road, Crumlin in Dublin and with an address at Riversdale Grove, Kimmage was arrested inside the gates of Leinster House yesterday afternoon.

He was charged under the Firearms and Offensive weapons Act after he was detained at Pearse Street Garda Station.

He was charged at midnight last night and made no reply.

At Dublin District Court this morning he was remanded in custody for a week with consent to bail. However, he may take up bail at any time in the interim.

Gardaí had objected to bail but confirmed to his solicitor that he had been cooperative at all times since his arrest.

Gardaí were also asked to confirm that he had no particular target in mind.

They said he had "no one particular person" and said drugs and alcohol were not involved.

As part of his conditions of bail he must reside at his Kimmage address and sign on three times a week at a garda station.

He must also stay away from the Dublin 2 area and all government departments and buildings except Department of Social Protection offices.

He was remanded in custody with consent to bail on his own bond of €750 with a cash lodgement of €250.