A man has admitted posting racist messages on a website in memory of murdered black teenager Anthony Walker.
The messages were posted days after Anthony Walker was killed
Neil Martin, 29, posted the offensive remarks in August last year, days after 18-year-old Anthony was killed with an ice axe in Huyton, Merseyside.
Martin, of Maghull, pleaded guilty at Liverpool Crown Court to publishing material intended or likely to stir up racial hatred.
He was given bail and will be sentenced in October, after psychiatric reports.
At an earlier hearing before South Sefton magistrates, Martin was convicted of 33 counts of making indecent photographs or pseudo-photographs of a child.
Heather Lloyd, defending, said: "He knows the racing certainty is that he can expect a custodial sentence, regardless of the psychiatric report.
"He has asked me to publicly apologise to the Walker family and friends and he has written a letter to the Walker family and friends apologising for his disgraceful conduct and that letter has been passed to the mother of Anthony Walker."
Mr Justice Openshaw granted Martin conditional bail but warned him to expect a custodial sentence.
Speaking outside court, Anthony's mother, Gee Walker, said: "I'm pleased he pleaded guilty because it's an acceptance of what he did.
"It's best to nip these things in the bud before they get out of hand. This sends out a message that this sort of thing will not be tolerated.
"I haven't read his letter yet so I can't comment on that."