; (2) by striking paragraphs (1) through (4); (3) by redesignating paragraph (5) as paragraph (3); and (4) by inserting before paragraph (3) the following: (1) In general The priority date for an individual shall be the date on which a petition under section 204 is filed with the Secretary of Homeland Security or the Secretary of State, as applicable, unless such petition was preceded by the filing of a labor certification with the Secretary of Labor, in which case the date on which the labor certification is filed shall be the priority date. (2) Applicability The principal beneficiary and all derivative beneficiaries shall retain the priority date associated with the earliest of any approved petition or labor certification, and such priority date shall be applicable to any subsequently approved petition. .