The trial cost New York City up to $2 million