A Southwest hospital associate who had botched a surgery on a man who had a history of depression is set to face court next month after being charged with felony manslaughter and criminal contempt.

The accused, a Southwest associate, admitted to performing the operation in July last year.

“The patient was depressed, and this was in response to the patient being in isolation,” said Deputy District Attorney John Gage.

Gage said he was not surprised the operation was botched.

A video of the procedure was seen by more than 600 people at a news conference on Monday.

Southwest surgeons had been on alert after a number of botched surgeries in recent months.

An earlier version of this article said the patient had a “history of depression”.

In an earlier version, it said the operation had taken place in the city of San Diego.