A $1.6 million settlement has been reached with two Southern California hospitals accused of improperly discharging and dumping psychiatric patients on Los Angeles' Skid Row, the city attorney's office said Wednesday.

The settlement also bars College Hospitals in Costa Mesa and Cerritos from transporting homeless psychiatric patients to downtown shelters, City Attorney Rocky Delgadillo's office said.

City officials allege that over two years, as many as 150 patients from the two hospitals were dumped on Skid Row, an area on the east side of downtown where thousands of homeless people live.

"We will not stand idly by while society's most vulnerable are dumped in the gutters of Skid Row," Delgadillo said in a statement.

Under the settlement, the hospitals agreed to give $1.2 million to charities that care for the mentally ill and homeless and to pay $400,000 in civil penalties.

In one case, the city attorney's office said Steven Davis, 32, a bipolar schizophrenic, was driven 40 miles to the Union Rescue Mission last year from the Costa Mesa hospital. The next day, the shelter contacted the hospital and asked them to pick up Davis, saying they were unequipped to treat him.

A van from the hospital came for Davis but simply dropped him at another Skid Row shelter, according to the city attorney's office. From there, he wandered the streets before ending up at a clinic that contacted his family and found a place for him to board and receive treatment.

Last May, the hospital's chief executive officer, Wayne Lingenfelter, denied dumping patients. He said Davis requested discharge to the Los Angeles shelter and had adequate health care in place.

Attorney David Daniels, who represents Davis, said College Hospitals will be required to develop protocols for discharging psychiatric patients to "ensure homeless psychiatric patients will have the dignity and the continuum of care that everyone leaving a hospital deserves."

College Hospitals attorney Glenn Solomon denied any wrongdoing by the hospitals.