Breach of Contract Fee

I paid a total of $20,000 to my former employer as breach of contract fee. I wanted to break free from the employment contract due to personal reasons. It was stipulated in the contracted that I have to pay that amount if I will not finish the contract. Can I apply this amount as tax deduction? Thanks