Mortgage Interest

My brother passed on October 9, 2023 and I inherited his home through in living trust. The home has been transferred into my name through the courts, however the mortgage is still listed in his name. Do I need to claim or can I claim the 1098 on my tax return being that I paid the mortgage all year round?