Deduction HOA fees

Can I deduct the HOA fees I paid each year now that the property has been sold?