A 30-year-old woman who smashed Simon Cowell's window with a broken brick has been let off further time behind bars.

Leanne Zaloumis was granted bail at Isleworth Crown Court in west London, but told she must not contact music mogul Cowell or go within 300 yards of his West London property.

The defendant, of south east London, admitted being in possession of a brick with the intent to damage or destroy property, and breaking a window on March 24, but pleaded not guilty to two other counts of affray and burglary.

Cowell was watching TV in his bedroom when he heard a "loud bang" coming from his bathroom.

Zaloumis was taken to Notting Hill police station after being found inside a walk-in wardrobe at the mansion, a previous hearing was told.

She was also accused of shouting at Cowell and hurling items at his bathroom window while standing on a roof outside.

The 52-year-old X Factor judge called his staff and was taken back to his bedroom during the incident at around 10.30pm on the Saturday night.

Zaloumis appeared in the dock today with her hair tied back, wearing a black T-shirt and a zipped sweatshirt.

Emily Dunnett, prosecuting, accepted the not guilty pleas on behalf of the Crown.

Judge John Denniss did not sentence Zaloumis today because of administrative delays, but granted conditional bail because she has already served around three months in custody.

As well as banning her from contacting Cowell, which he described as like a "restraining order", he told her she must stay at her home address, remain inside between 7pm and 7am and wear an electronic tag.

A sentencing date of August 2 was fixed by Judge Denniss, but he told the court he will not be sentencing Zaloumis.

He explained that as the defendant has already spent 102 days behind bars, that would be the equivalent to an appropriate sentence.

"This is sufficient punishment in my view," he said.

"But I think for your own protection, and for the protection of the public, that it is appropriate for an order of supervision for 12 months."

He warned Zaloumis that if she breaks her bail conditions, she will return to prison.

Cowell was not present at the hearing, and a representative said outside court that he would not be commenting.

Cowell's spokesman, Max Clifford, said: "He is glad that the judge was understanding and sympathetic, and hopes that she gets some help and support."