San Francisco plaintiffs lawyer Waukeen McCoy wasn’t afforded due process protections when a federal judge hit him with $25,000 in sanctions, according to a ruling from the 9th U.S. Circuit Court of Appeals.

U.S. District Judge Susan Illston fined McCoy in connection with fee petitions he submitted after winning discrimination verdicts against FedEx. Illston turned down McCoy’s $2 million request, calling his behavior “among the most egregious that this court has seen in almost 14 years on the bench.”