City settles with Department of Justice