Litagation Question

In 2019I incurred a large legal expense with regard to a litigation. This law suit has gone in my favor, but settlement won't occur until 2020. How do I write off the 2019 legal fees against the 2020 settlement?