First-year election
(A) An alien individual shall be deemed to meet the requirements of this subparagraph if such individual— (i) is not a resident of the United States under clause (i) or (ii) of paragraph (1)(A) with respect to a calendar year (hereinafter referred to as the “election year”), (ii) was not a resident of the United States under paragraph (1)(A) with respect to the calendar year immediately preceding the election year, (iii) is a resident of the United States under clause (ii) of paragraph (1)(A) with respect to the calendar year immediately following the election year, and (iv) is both— (I) present in the United States for a period of at least 31 consecutive days in the election year, and (II) present in the United States during the period beginning with the first day of such 31-day period and ending with the last day of the election year (hereinafter referred to as the “testing period”) for a number of days equal to or exceeding 75 percent of the number of days in the testing period (provided that an individual shall be treated for purposes of this subclause as present in the United States for a number of days during the testing period not exceeding 5 days in the aggregate, notwithstanding his absence from the United States on such days).
(B) An alien individual who meets the requirements of subparagraph (A) shall, if he so elects, be treated as a resident of the United States with respect to the election year.
(C) An alien individual who makes the election provided by subparagraph (B) shall be treated as a resident of the United States for the portion of the election year which begins on the 1st day of the earliest testing period during such year with respect to which the individual meets the requirements of clause (iv) of subparagraph (A).
(D) The rules of subparagraph (D)(i) of paragraph (3) shall apply for purposes of determining an individual’s presence in the United States under this paragraph.
(E) An election under subparagraph (B) shall be made on the individual’s tax return for the election year, provided that such election may not be made before the individual has met the substantial presence test of paragraph (3) with respect to the calendar year immediately following the election year.
(F) An election once made under subparagraph (B) remains in effect for the election year, unless revoked with the consent of the Secretary.