Supporters cheered as Kevin McLaughlin arrived at court to face murder charges.
The 58-year-old, from Elaghmore Park in Galliagh, Londonderry, is accused of killing Barry McCrory in the city earlier this month.
The 35-year-old victim was shot dead in his girlfriend’s flat in Shipquay Street on October 10.
At Londonderry Magistrates Court, McLaughlin was charged with murder, and possession of a gun and ammunition.
During the brief hearing a PSNI detective said the murder was not believed to be terrorist related.
McLaughlin spoke only to confirm his name and that he understood the charges.
He was remanded in custody to appear again before the court via video-link next month.
More than a dozen supporters outside cheered him as he arrived and left the courthouse at Bishop Street in central Londonderry.