The inhabitants of the city complained about the abuse of the command before an Islamic court in Baghdad the court investigated the case objectively  and ended up siding with the city's people even though they weren't Muslims and punished their Muslim general