The Mayor shall, effective July 1, 1969, provide Aid to Dependent Children in the form of foster care when removal of a child from the home of a parent or relative results from judicial determination that continuation in such home is contrary to the child’s welfare, provided:
(1) The child was eligible for Aid to Families with Dependent Children under District and federal law in effect on July 16, 1996 in or for the month in which court proceedings leading to such a determination were initiated; or
(2) The child was living with a relative within 6 months prior to the month such proceedings were initiated and would have been eligible under such law had application been made in his behalf.