Bosses at the Calderdale and Huddersfield Hospitals Trust could be excused for popping champagne corks.

The trust, which runs the Huddersfield Royal Infirmary, St Luke's Hospital at Crosland Moor and the Calderdale Royal Hospital in Halifax, has been given three stars in this year's Healthcare Commission ratings, released today.

This is the highest award any hospital can achieve.

Some 73 out of 173 hospital trusts across the country were rated so highly.

This is the fifth year of the star ratings. For the first three years the trust gained three stars, but last year dropped to two.

But smiles are back on faces this year.

Chief executive Diane Whittingham said: "This is great news for patients and, of course, staff throughout the trust.

"I would like to thank all our staff for their hard work and dedication, which has brought about the improvement in performance rating."

To achieve three-star status the trust had to meet eight key targets, which included:

* Total time in Accident and Emergency (A&E) of four hours or less.

* Maximum 12-hour wait for emergency admission via A&E.

* Hospital cleanliness.

* Maximum two-week wait for cancer outpatient appointments.

Ms Whittingham said the hospitals would continue to progress.

She added: "The trust has achieved a great deal during the past year and we are all committed to building on that good work, with patients, our partners and the wider public, to provide hospital services the people of Calderdale and Huddersfield can be proud of."

But it was a different story in Dewsbury.

The Dewsbury District Hospital is part of the Mid-Yorkshire Hospitals Trust, which also runs Pinderfields Hospital in Wakefield, which has taken a battering over recent years - both financially and with patients.

The no-star trust was again left empty-handed by the commission.

Chief executive John Parkes said they expected to be bottom of the ladder.

He added: "Given the history of challenges at the trust and that we were put under special measures by the commission last year, we didn't expect anything other than a zero star."

Mr Parkes said that despite getting zero the trust had made cost and efficiency improvements as well as faster treatment in A&E departments.

It was a different story for the primary care trusts in our area.

There are three in Kirklees and work at a local level to provide services, such as GPs and heath campaigns and health awareness.

South Huddersfield PCT was rewarded for a year of effort with three stars.

It was congratulated for good dentistry, sexual health, cervical screening and flu vaccination achievements.

Huddersfield Central PCT was awarded two stars out of three. It was applauded for good dentistry, infant health and child protection.

But a number of scores were deemed as average.

These included flu vaccinations and diabetic eye screening.

The chief executive of both trusts is Kevin Holder.

He said: "We are delighted to be awarded three-star and two-star ratings.

"Huddersfield Central only missed out on three stars in only two areas, uptake rates in flu vaccinations and diabetic eye screening.

"The ratings show that our patients are receiving high-quality care and are a testament to the continued hard work and dedication of our staff."

Bottom of the heap was North Kirklees PCT.

It was given only one star.

Chief executive Philip Sands said that despite the rating the trust had still performed well in some key areas to improve primary healthcare for people in Batley, Dewsbury and Spenborough.

He said: "It has been a challenging year, but our staff have continued to work hard to develop and improve local health services so people can lead healthier lives."

Bosses at West Yorkshire Metropolitan Ambulance Service were given a one-star rating.

The Healthcare Commission report showed Wymas had failed to meet a number of targets.

These included response times for some call-outs.

Patient focus figures were also poor.

The service was slated for failing to meet urgent calls from GPs within the 15-minute targets, as well as for pain management protocols and patient complaints.

Chief executive Kevin Ellis said they had worked very hard to hit the key target of reaching three- quarters of life-threatening calls within eight minutes.

He added: "While we would like to have increased our star rating, the fact that we have achieved this important indicator, as well as our financial targets, is good news."

South West Yorkshire Mental Health trust won two stars.

The trust runs services from both Dewsbury District Hospital and St Luke's.

Chief executive Judith Young said the trust had two stars in last year's figures as well.

She added: "We are very pleased to have retained our two stars.

"This is a fabulous achievement in a year when staff have worked hard to introduce new models of service and to continue to improve services in line with what people said was important to them."