; and (II) increase the resilience of agricultural management systems to extreme weather and climate conditions; (ii) in the case of an application for implementing an eligible proposal, the Secretary shall select applications for eligible proposals that— (I) have a high potential for carbon sequestration or greenhouse gas emissions reductions; (II) increase the resilience of agricultural management systems to extreme weather and climate conditions; and (iii) the Secretary shall select applications for eligible proposals that are based on any other criteria that the Secretary determines necessary or appropriate to carry out this subsection. (C) Geographical diversity In providing grants under this subsection, the Secretary shall, to the maximum extent practicable, ensure geographic diversity. (D) Priority In providing grants under this subsection, the Secretary shall give priority to— (i) a covered entity for an eligible proposal that— (I) includes dedicated resources to historically underserved producers or farming operations, including— (aa) beginning farmers or ranchers; (bb) socially disadvantaged farmers or ranchers; (cc) veteran farmers and ranchers, as defined in section 2501(a) of the Food, Agriculture, Conservation, and Trade Act of 1990 ( 7 U.S.C. 2279(a) ); and (dd) small or mid-sized farms that are structured as family farms, as defined in section 761.2 of title 7, Code of Federal Regulations; (II) includes plans to transition whole farm systems to ecologically sound production systems that— (aa) increase carbon sequestration; (bb) reduce greenhouse gas emissions; or (cc) build resilience to extreme weather; or (III) supports additional conservation goals, including— (aa) improving soil health; (bb) erosion control; (cc) improving nutrient management; (dd) improving water quality; (ee) enhancing pollinator forage; and (ff) habitat restoration