Loss after sale of Rental

We sold our rental property in 2020, however the buyer sued us in 2021 and we ended up paying him 26k and 10k in lawyers fees.  Can we claim any loses?
We claimed the house sale in 2020 taxes.

 

Thank you all for any help.