For each of fiscal years 2007 through 2017, from any Federal royalties, rents, and bonuses derived from Federal onshore and offshore oil and gas leases issued under the Outer Continental Shelf Lands Act (
43 U.S.C.
1331 et seq.) and the Mineral Leasing Act (
30 U.S.C.
181 et seq.) which are deposited in the Treasury, and after distribution of any such funds as described in subsection (c), $50,000,000 shall be deposited into the Ultra-Deepwater and Unconventional Natural Gas and Other Petroleum Research Fund (in this section referred to as the “Fund”). For purposes of this section, the term “royalties” excludes proceeds from the sale of royalty production taken in kind and royalty production that is transferred under section 27(a)(3) of the Outer Continental Shelf Lands Act (
43 U.S.C.
1353
(a)(3)).