U.S. companies rich in intellectual property are looking at a new tax-friendly regime: the U.S.

A provision in the newly revised U.S. tax code slashes the income tax companies pay on royalties from the overseas use of intellectual property or so-called intangible assets, such as licenses and patents.

The new tax break, for what is dubbed foreign-derived intangible income, effectively reduces tax on foreign income from goods and services produced in the U.S. using patents and other intellectual property to 13.125% until the end of 2025, after which the rate rises to 16.4%. Previously, royalties paid to a unit in the U.S. would have been taxed similarly to other U.S. income, for which the top corporate tax rate was 35%. The new headline corporate rate is 21%.

The deduction is meant to induce companies with large U.S. operations and significant foreign income from patent royalties to base more of those assets in the U.S. Such companies, especially in technology and pharmaceutical sectors, often hold foreign rights for their IP in a company based in a low-tax country.

The new U.S. deduction comes as Ireland is set to phase out, by the end of 2020, the most storied version of this maneuver, the Double Irish—which has been used by large firms, including Facebook Inc., Google parent Alphabet Inc. and drugmaker Allergan PLC.