Edward Mirzabegian, chief executive at Antelope Valley Hospital, has resigned and will leave his position at the end of the month.

Mirzabegian took over management of the public hospital in 2007 when it was losing nearly $12 million a year and was on the verge of bankruptcy. He turned the facility around and in fiscal year 2009 the hospital reported a surplus of nearly $9 million. It has remained in the black ever since.

“When he first arrived, this was a little hospital and he made it into an institution,” said Dr. Abdallah Farrukh, chairman of the board, in a statement.

During his tenure, Mirzabegian helped arrange a partnership with City of Hope to construct a cancer treatment center on the hospital property in Lancaster. He also started a $32 million facility upgrade project that includes remodeling the hospital’s main entrance, retrofitting the building for seismic compliance and constructing a cardiology and neurovascular center.

The hospital did not announce any interim replacement for Mirzabegian nor his reason for leaving. Mirzabegian will remain a consultant for the hospital during the next six months until a permanent replacement is hired.

The hospital is run by the Antelope Valley Healthcare District.