; (C) shall prioritize the provision of grants for communities that demonstrate affordable modes of transitioning to clean and renewable energy for residents of low-income communities and disadvantaged communities; and (D) shall take into consideration previous investments by the Department of Energy and other Federal departments and agencies to ensure that the maximum domestic benefit from Federal investments is realized. (3) Selection criteria (A) In general Not later than 120 days after the date of enactment of this Act, and not later than 90 days after the date on which any subsequent amounts are made available to carry out this section, the Secretary shall publish criteria for the selection of units of tribal and local government to receive grants under this section. (B) Application requirements The criteria published by the Secretary under subparagraph (A) shall include the following application requirements: (i) A proposed level of cost sharing, in accordance with subsection (f)(2). (ii) A description of the relevant stakeholders that the applicant will involve, including— (I) elected and appointed officials; (II) all relevant generators and distributors of electricity; (III) State utility regulatory authorities; (IV) departments of public works and affordable housing; (V) community groups or individuals that can provide expertise regarding environmental justice considerations; (VI) entities representing low-income communities and disadvantaged communities