When did the city near bankruptcy?