1. Short title This Act may be cited as the Keep Families Together Act . 2. Limitation on the separation of families (a) In general An agent or officer of a designated agency shall be prohibited from removing a child from his or her parent or legal guardian, at or near the port of entry or within 100 miles of the border of the United States, unless one of the following has occurred: (1) A State court, authorized under State law, terminates the rights of a parent or legal guardian, determines that it is in the best interests of the child to be removed from his or her parent or legal guardian, in accordance with the Adoption and Safe Families Act of 1997 ( Public Law 105–89 ), or makes any similar determination that is legally authorized under State law. (2) An official from the State or county child welfare agency with expertise in child trauma and development makes a best interests determination that it is in the best interests of the child to be removed from his or her parent or legal guardian because the child is in danger of abuse or neglect at the hands of the parent or legal guardian, or is a danger to herself or others. (3) The Chief Patrol Agent or the Area Port Director in their official and undelegated capacity, authorizes separation upon the recommendation by an agent or officer, based on a finding that— (A) the child is a victim of trafficking or is at significant risk of becoming a victim of trafficking; (B) there is a strong likelihood that the adult is not the parent or legal guardian of the child