or other institution-affiliated party of any insured depository institution would not unduly influence the investment policies of the depository institution or the advice the institution provides to customers. (C) Termination of service Subject to a determination under subparagraph (B), any individual described in subparagraph (A) who, as of the date of the enactment of the Return to Prudent Banking Act of 2017, is serving as an officer, director, employee, or other institution-affiliated party of any insured depository institution shall terminate such service as soon as practicable after such date of enactment and no later than the end of the 60-day period beginning on such date. (3) Termination of existing affiliation (A) Orderly wind-down of existing affiliation Any affiliation of an insured depository institution with any broker or dealer, any investment adviser, any investment company, or any other person, as of the date of the enactment of the Return to Prudent Banking Act of 2017, which is prohibited under paragraph (1) shall be terminated as soon as practicable and in any event no later than the end of the 2-year period beginning on such date of enactment. (B) Early termination The appropriate Federal banking agency, after opportunity for hearing, may terminate, at any time, the authority conferred by the preceding subparagraph to continue any affiliation subject to such subparagraph until the end of the period referred to in such subparagraph if the agency determines, having due regard for the purposes of this subsection and the Return to Prudent Banking Act of 2017, that such action is necessary to prevent undue concentration of resources, decreased or unfair competition, conflicts of interest, or unsound banking practices and is in the public interest. (C) Extension Subject to a determination under subparagraph (B), an appropriate Federal banking agency may extend the 2-year period referred to in subparagraph (A) from time to time as to any particular insured depository institution for not more than 6