1. Short title This Act may be cited as the Anthony Gonzales Equality for Survivors (AGES) Act . 2. Determination of valid marriage under the social security act (a) In general Section 216(h)(1)(A)(i) of the Social Security Act ( 42 U.S.C. 416(h)(1)(A)(i) ) is amended by striking is domiciled and all that follows through the District of Columbia, and inserting and such applicant were married (or, if such insured individual and such applicant were not married in any State but were validly married in another jurisdiction, the courts of any State) . (b) Effective date The amendments made by this section shall apply to all final determinations of family status made after June 26, 2013. 3. Alternative method of meeting nine-month requirement for widows, stepchildren, or widowers in certain cases Section 216(k) of the Social Security Act ( 42 U.S.C. 416(k) ) is amended— (1) in the section heading, by striking in Case of Accidental Death or in Case of Serviceman Dying in Line of Duty, or in Case of Remarriage to the Same Individual and inserting in certain cases ; (2) in paragraph (1), by striking or at the end; (3) in paragraph (2)(B), by adding or at the end; (4) by inserting after paragraph (2) the following: (3) (A) in the case of a widow or widower of such individual whose marriage to such individual would not have been treated as a marriage for purposes of Federal law prior to June 26, 2013, such widow or widower— (i) became the wife or husband of such individual (or was deemed to be the wife or husband of such individual under subsection (h)(1)(A)(ii))— (I) if such widow or widower is domiciled in a State that recognized same-sex marriages as of June 26, 2013, during the 9-month period beginning with June 26, 2013; and (II) if such widow or widower is domiciled in any other State— (aa) during the 9-month period beginning with June 26, 2013; or (bb) during the 9-month period beginning with June 26, 2015, or if earlier, the first date on which such State recognized same-sex marriages