; and (ii) by redesignating paragraphs (6) through (8) as paragraphs (4) through (6). (B) Transfer of related personnel and assets of Office of Homeland Security The functions which the Office of Homeland Security of the Department of Agriculture exercised under paragraphs (4) and (5) of section 221(d) of the Department of Agriculture Reorganization Act of 1994 ( 7 U.S.C. 6922(d) ) before the effective date of this paragraph, together with the funds, assets, and other resources used by the Director of the Office of Homeland Security of the Department to carry out such functions before the effective date of this paragraph, are transferred to the Director of the Office of Intelligence of the Department. (2) Carrying out interagency exchange program for defense of food and agriculture critical infrastructure sector Section 221(e) of such Act ( 7 U.S.C. 6922(e) ) is amended by adding at the end the following new paragraph: (3) Authority of Director of Office of Intelligence and Counterintelligence The Secretary shall carry out this subsection acting through the Director of the Office of Intelligence of the Department. . (3) Coordinating with intelligence community on potential threats to agriculture Section 335(a)(3) of the Public Health Security and Bioterrorism Preparedness and Response Act of 2002 ( 7 U.S.C. 3354(a)(3) ) is amended by striking strengthen coordination and inserting acting through the Director of the Office of Intelligence in the Department of Agriculture, strengthen coordination . (4) Effective date This subsection and the amendments made by this subsection shall take effect upon the appointment of the Director of the Office of Intelligence in the Department of Agriculture under section 225A(b) of the Department of Agriculture Reorganization Act of 1994 (as added by subsection (a)).