Taxpayers will spend $500K to settle brutality lawsuit