A 43-year-old man has appeared in court in Roscommon charged with the murder of a garda.
Detective Garda Colm Horkan, 49, was shot dead on Wednesday night in Castlerea.
Stephen Silver from Aughaward, Foxford in Co Mayo was remanded in custody for a week.
Garda Helen Gillen gave evidence of arrest charges.
She told the court she arrested Mr Silver at 10.17pm yesterday and when he was charged with the murder a minute later, he made no reply.
During the brief hearing, Mr Silver said to the judge the charge was "absolutely unreal, I had no firearm on me."
Judge Alan Mitchell told him that he did not have to say anything at this time and that Gearoid Geraghty was his solicitor and whatever Mr Silver had to say, he could say through him.
The judge granted Mr Silver free legal aid and recommended that he receive a medical assessment and evaluation and the appropriate medical treatment.
He remanded him in custody to appear again in court by video link on Friday 26 June.
The funeral of Detective Horkan is to take place in his home town of Charlestown, Co Mayo on Sunday.