I had to pay my ex a lump sum of $8,000 instead of alimony. Is this deductible?

It is stated in my divorce settlement that he pays taxes on it and I deduct it.