Can I deduct Legal Expenses for a lawsuit involved with unlawful discrimination claims?

Can I deduct Legal Expenses for a lawsuit involved with unlawful discrimination claims?

Unfortunately, my claim was not supported by the judge and I got 0 income from this lawsuit.

 

Thanks.