An 87-year-old man has admitted harassing a woman in Hertfordshire by visiting her home, telephoning her and pestering her in the street.
Daniel Johns, of Albemarle Avenue, Potters Bar, targeted the 53-year-old, who cannot be named for legal reasons, in the town on 27 November 2009.
He pleaded guilty to one count of harassment at St Albans Crown Court.
Judge Andrew Bright QC adjourned sentencing until September for a report to be prepared by a probation officer.
The court heard the victim had mental health problems.
Prosecutor Isabel Delamare accepted Mr John's plea of not guilty to a charge of sexually assaulting the same woman.
His barrister, George Papageorgis, said: "He is 87-years-old and the likelihood of him committing a further offence is minimal."
Judge Bright said: "He knew she was suffering from mental difficulties.
"He needs a restraining order.
"I am unhappy about regarding this as some peccadillo that can be forgiven. It is significant harassment.
"This lady was not willing to be harassed - she was disturbed by it and reported it to the police. I want to stop it happening again."
Mr Johns was granted bail on the condition he does not go to the woman's home.