LONDON — Shockingly bad care and inhumane treatment at a hospital in the Midlands led to hundreds of unnecessary deaths and stripped countless patients of their dignity and self-respect, according to a scathing report published on Wednesday.

The report, which examined conditions at Stafford Hospital in Staffordshire over a 50-month period between 2005 and 2009, cites example after example of horrific treatment: patients left unbathed and lying in their own urine and excrement; patients left so thirsty that they drank water from vases; patients denied medication, pain relief and food by callous and overworked staff members; patients who contracted infections due to filthy conditions; and patients sent home to die after being given the wrong diagnoses.

“This is the story of the appalling and unnecessary suffering of hundreds of people,” Robert Francis, the lawyer appointed by the government to lead the inquiry, said at a news conference.

“They were failed by a system which ignored the warning signs and put corporate interests and cost control ahead of patients and their safety,” he added. “There was a lack of care, compassion, humanity and leadership. The most basic standards of care were not observed, and fundamental rights to dignity were not respected.”