; and (B) by striking subparagraph (A) of paragraph (3) and inserting the following: (A) the officer or employee served in a position in such agency for a period of at least 1 year preceding the date of death, resignation, or beginning of inability to serve of the applicable officer; and . (2) By adding at the end the following: (d) For purposes of this section, a position shall be considered to be the first assistant to the office with respect to which a vacancy occurs only if such position has been designated, at least 30 days before the date of the vacancy, by law, rule, or regulation as the first assistant position. The previous sentence shall begin to apply on the date that is 180 days after the date of enactment of the Accountability for Acting Officials Act. (e) The 30-day service requirement in subsection (a)(1) shall not apply to any individual who is a first assistant if— (1) (A) the office of such first assistant is an office for which appointment is required to be made by the President, by and with the advice and consent of the Senate; and (B) the Senate has approved the appointment of such individual to such office