Last year campaigners fighting plans to close those departments handed a 50,000-signature petition to Downing Street and they have marched in protest against the proposals.

Hammersmith and Fulham councillor Marcus Ginn said: "The massive opposition from local people to the original proposals has forced NHS managers to rethink their plans.

"The £90m cash injection now proposed by the NHS would secure the hospital's future for generations to come and the top priority was always to save Charing Cross and the services so many of our residents rely on.

"In return, we have agreed to halt our legal challenge to the NHS proposals as all but the most complex emergencies will continue to be treated at Charing Cross. We believe that we have secured the best possible deal for our residents."

The Shaping a Healthier Future programme was launched at the end of last year, with NHS NWL saying it needed to save about £1bn over the next three years, as well as improve standards.

'Cobbled together' deal

It said cutting inpatient beds from 500 to 60 was a "catastrophic change" and asked where the £90m was coming from.

Chair of the protest group, Carlo Nero, said: "If we're effectively being given the deal Lewisham was offered why should our local doctors be any less unhappy, and in some cases even outraged, than theirs?

"It seems clear to me, having chaired this campaign since last June, that this is absolutely not the result that Save our Hospitals was set up to achieve, and that we should continue to campaign.

"This cobbled together, second-best deal is not good enough for the people of Fulham or Hammersmith."