; and (B) priority for those projects for which Federal funding is not available under other laws or programs. (f) Grants to public entities and nonprofit organizations The Secretary shall use amounts made available under subsection (b)(5) to make grants to public entities (including State fish and game agencies and local governments) and nonprofit organizations (based on criteria established by the Secretary by regulation) to carry out activities that support collaborative restoration projects to improve fish and wildlife habitat affected by past hardrock minerals and mining activities, including activities that— (1) improve water quality and quantity; (2) restore watersheds in which historic mining dewatered or otherwise fragmented stream habitats; (3) restore instream habitat conditions necessary to support aquatic species; (4) restore vegetative cover and streamside areas to control erosion and improve conditions for fish and wildlife; (5) control and remove noxious weeds and invasive species associated with historic mining disturbances that affect fish and wildlife; (6) restore fish and wildlife habitat in cases in which previous hardrock minerals and mining activity limits fish and wildlife productivity; (7) protect and restore fish and wildlife habitat in areas affected by historic minerals and mining activity