A man has admitted daubing "No Blacks" on the home of a family from Africa.
Vaughan Dowd, 54, pleaded guilty to a single count of racially aggravated criminal damage at Manchester Magistrates' Court on Thursday.
The court heard how Jackson Yamba was departing for work on 8 February when he came across the message painted on his door.
Dowd, wearing jeans and a brown jumper and shirt, spoke only to confirm his name and details and to plead guilty to the offence in Salford.
District Judge Mark Hadfield said the sentencing powers of the magistrates court were insufficient to deal with the case and he ordered Dowd, from Salford, be dealt with at Manchester Crown Court at a later date.
Manchester Magistrates' Court was told that the same graffiti was also daubed on an internal communal door and the entry door to the block of flats where Mr Yamba lives.
Ann Deakin, prosecuting, said inquiries were made by police and through CCTV records and building access records, the police arrested Dowd.
Ms Deakin said the CCTV showed Dowd covering his face to carry out the attack before returning to the flats with his face uncovered.
In a victim impact statement, Mr Yamba said: "This incident has left me feeling very angry.
"The idea someone has the audacity to attack my front door of my home address and target me in this way has affected me in a lasting way.
"I'm now constantly on edge and worried about every little noise outside and it has affected my ability to sleep."
District Judge Hadfield said this type of offence has an effect not only on the victim but the wider community, and he adjourned the case before deciding whether to grant bail ahead of sentencing.