The city had accused Jasmine Ray of fiscal mismanagement. She said that she had been unfairly targeted because of her ties to the former mayor.