Lily Allen has said the stalker who terrorised her was failed by the mental health system and warned that cuts to services could lead to "more examples where innocent people get hurt".

The singer was left terrified after obsessive Alex Gray managed to break into her bedroom at the climax of months of abuse. He was sectioned earlier this month at a court hearing over his stalking.

Today Allen said that Gray had been "let down" by mental health services who did not seem to "notice or care" as his condition deteriorated.

Allen made her intervention two days after the murder of Labour MP Jo Cox, who died after being shot and stabbed in the street outside her constituency surgery in Birstall, near Leeds, on Thursday.

After Mrs Cox died on Thursday, Allen tweeted: "Jo Cox, bless you... A beautiful woman, mother, wife, campaigner, charity worker and humanitarian. I'm so so sad and sorry that this happened."

Thomas Mair, who has been charged with Mrs Cox's murder, gave his name as "Death to traitors, freedom for Britain" during his first court appearance, at Westminster Magistrates' Court.

Deputy Chief Magistrate Emma Arbuthnot suggested that a psychiatric report should be prepared, saying: "Bearing in mind the name he has just given, he ought to be seen by a psychiatrist."