California prosecutors on Monday filed a lawsuit against Brookdale Senior Living, the states largest nursing home chain, accusing it of manipulating ratings on the federal governments rating system, as well as illegally discharging patients.

The New York Times reports that California Attorney General Xavier BecerraXavier BecerraThis week: Democrats eye next step after coronavirus relief bill win The Hill’s Morning Report – Presented by the National Shooting Sports Foundation – Biden: Back to ‘normal’ still means ‘beat the virus’Overnight Health Care: Biden to outline path to more normal Fourth of July | Biden signs .9 trillion relief bill into law | Manchin and Collins to support BecerraMORE, President BidenJoe BidenThe Hill’s Morning Report – Presented by Facebook – Biden to hit road, tout COVID-19 relief lawOregon senator takes center stage in Democratic filibuster debateThis week: Democrats eye next step after coronavirus relief bill win MORE’s nominee to lead the Department of Health and Human Services, filed the lawsuit along with other prosecutors in the Superior Court in California. They accuse Brookdale of winning undeserved higher star ratings up until April 2018 by submitting false reports about its staff members.

The company is accused of also illegally evicting or transferring patients in order to fill its beds with residents who will bring in more money, the Times reports. Brookdale allegedly once discharged a 78-year-old resident with heart and kidney disease without removing his catheter.

It also reportedly continued rigging the system in its favor even after the Center for Medicare and Medicaid Services (CMS) improved its method of collecting staff data. Prosecutors accuse the nursing home system of logging nurses daily hours instead of depending on individual nursing homes to report the amount of time spent with patients.

The manipulation resulted in Brookdale being awarded higher star ratings than it deserved, prosecutors wrote.

The chains manipulation has allowed Brookdale to attract prospective patients and their families to its facilities by misleading them about its quality of care,” they say.

We have detailed policies in place to ensure compliance with C.M.S. reporting rules, and we are not aware of any instance where inaccurate or false information was submitted by any of our communities outside of the confines of the C.M.S. rules,” Brookdale spokeswoman Heather Hunter told the Times

The Times reports that the lawsuit seeks civil penalties and an injunction in order to prevent unlawful conduct in the future. The civil penalties could result in up to $2,500 per violation found as well as an additional $2,500 for violations committed against senior citizens and those with disabilities.