If the tax was a property tax or income tax you can treat it as a foreign tax for purposes of the foreign tax credit or deduction. You may be able to get credit for it to the extent you paid US tax on foreign income during the year. Any unused credit could be carried over to future years. It would apply to passive income, not general category income.
[Edited 3/12/24 at 11:22 AM PST] @rrafoth
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"