A £6m murder trial has been halted at the Old Bailey following a Law Lords ruling on witnesses giving evidence anonymously.

The murder trial of Douglas Johnson, 27 of New Addington, and David Austin, 41 of Thornton Heath, who are accused of shooting Dagenham Charles Butler in October 2004 was stopped after lawyers considered last week's ruling.

The Law Lords, in allowing an appeal in another murder case, ruled that defendants have the right to know who is giving evidence against them.

The Old Bailey case is the first casualty of the ruling but dozens of cases around the country are being affected.

The police, the Crown Prosecution Service and defence teams are studying the ruling and reviewing cases.

Judge David Paget discharged the jury at the Old Bailey after two months of hearing evidence.

The trial, which was nearing the end of the prosecution case, was the culmination of a multimillion-pound four-year inquiry into the shooting and alleged police corruption.

Four witnesses had given evidence under false names and from behind screens.

Prosecutor Timothy Cray said a retrial was expected to be held next year after the ramifications of the ruling had ended.

In an ironic twist, Judge Paget was also the judge in the case of Iain Davis in 2004 which was successfully appealed. He said it now appeared that defendants not only had the right to know who witnesses were, but also to be able to confront them in court.

But Justice Secretary Jack Straw said there was a real need for some witnesses to have their identities protected.

He vowed to change the law "as quickly as possible" to allow the right to anonymity to be restored.