Media playback is unsupported on your device Media caption Campaigners celebrated at the Royal Courts of Justice following the ruling, but will the jubilation last? Jane Dreaper reports

Health Secretary Jeremy Hunt has had his decision to reduce services at a major hospital declared unlawful and quashed by the High Court.

Mr Justice Silber ruled Mr Hunt acted outside his powers when he announced casualty and maternity units at Lewisham Hospital would be downgraded.

He said the Secretary of State had breached provisions of the National Health Services Act 2006.

The judge gave him permission to appeal against the decision.

Mr Justice Silber said recommendations of the Secretary of State had to have regard to, or be supported by, GP commissioners.

It was quite clear that the Lewisham GP commissioners did not give support to the proposals, said the judge.

'Incredible day'

He went on: "On the contrary, they strongly opposed them although those GP commissioners in a number of surrounding but different areas were happy with them.

Analysis There were cheers and tears in Court 76 as Mr Justice Silber gave hospital campaigners the news they had hoped for. He ruled that Jeremy Hunt and the administrator he appointed to South London Healthcare had acted outside their powers when they decided to reduce services at Lewisham hospital. He ruled that local GPs had not supported the plans and therefore they should not be allowed to go ahead. Today's ruling comes six months to the day since Jeremy Hunt announced the downgrading of services like the A&E and maternity units at Lewisham. Campaigners had argued it was being made to suffer because of the failings of the neighbouring South London Healthcare Trust which is £65m in deficit. This was the first time the Trust Special Administrator regime had ever been used. The government has been given permission to appeal.

"I considered that it was the absence of support from the local GP commissioners which constituted an additional reason why the decision of the Secretary of State cannot stand."

The challenge was brought by Save Lewisham Hospital and the London Borough of Lewisham.

Dr Louise Irvine, a local GP who chairs the Save Lewisham Hospital campaign, said: "This is an incredible day.

"We are delighted for every single person who has supported the campaign and those who will now continue to benefit from this extraordinary hospital."

Rosa Curling, a lawyer with solicitors' firm Leigh Day acting for the campaigners, described it as a "tremendous victory".

She said: "This judgment should serve as a warning to the government that, if they try to do this, local communities will fight back to ensure their healthcare services remain in place."

Mayor of Labour-run Lewisham Council, Sir Steve Bullock, said justice had been delivered to a hospital "well-managed, highly-respected and financially solvent".

In January Mr Hunt told MPs that the cuts were necessary because neighbouring South London Healthcare NHS Trust has been losing more than £1m every week.

A spokesman said Mr Hunt's department was "disappointed by the decision" and would consider the judgment carefully.

He said: "This judgment applies to one aspect of a package of changes which we believe are in the best long-term interests of patients and the public across south-east London.

"We expect to continue other elements of that package of changes, including the dissolution of the South London Healthcare NHS Trust, planned for October 1 - although there are a number of steps to go before that can take place."

The other changes expected to go ahead are King's Health Partners taking over Princess Royal Hospital and the merger of Queen Elizabeth Hospital and Lewisham Hospital trusts.