A teenager accused of murdering Richard Miskelly tried to resuscitate the dying man, a court has heard.
Mr Miskelly, 24, died outside a house on the Bangor Road in Newtownards, County Down, on Sunday morning.
Rhys Magee, 19, is accused of murder as well as perverting the course of justice.
It is claimed Mr Magee told a witness to the incident: "You got home an hour before me and you didn't see anything."
The attack on Mr Miskelly was reported to police at about 05:30 GMT on Sunday.
He was found lying on the road and was treated by ambulance staff, but died at the roadside a short time later.
Mr Magee sat in the dock at Newtownards Magistrates' Court on Tuesday with his back to the family and friends of Mr Miskelly. Some of them sobbed during the hearing.
A defence solicitor said when the charges were put to the accused in police custody, Mr Magee said: "I did not murder Richard Miskelly and I'm very sorry for his family."
He also denied the charge of perverting the course of justice.
Making no bail application, the defence solicitor said Mr Magee had performed CPR on Mr Miskelly, and had assisted the emergency services.
The defendant, from the Carrowdore Road between Carrowdore and Greyabbey, was remanded in custody until 10 March.
A second 19-year-old man, who was also arrested on suspicion of murder, has been released unconditionally in relation to the killing.