; (21) $15,000,000 for a competitive grant pilot program for qualified nonprofit organizations to provide legal representation to immigrants arriving at the southwest border seeking asylum and other forms of legal protection in the United States; and (22) $400,000,000 for Law Enforcement Accountability Grants, of which— (A) $350,000,000 is for grants to hold law enforcement accountable in the courts: Provided , That of the amounts provided under this paragraph, $100,000,000 shall be for grants to assist States in conducting pattern and practice investigations at the State level, consistent with the requirements as described in section 103(b) of H.R. 7120 as passed by the House of Representatives on June 25, 2020: Provided further , That of the amounts provided, $250,000,000 shall be for grants to States and Tribal Governments to assist in implementing statutes providing for independent investigation of law enforcement officers, consistent with the requirements as described in section 104 of H.R. 7120 as passed by the House of Representatives on June 25, 2020; and (B) $50,000,000 is for Law Enforcement Trust and Integrity Grant Programs: Provided , That of the amounts provided under this subparagraph— (i) $25,000,000 shall be for grants to allow community-based organizations to study management and operations standards for law enforcement agencies, consistent with the requirements as described in subsections (b) and (c) of section 114 of H.R. 7120 as passed by the House of Representatives on June 25, 2020; and (ii) $25,000,000 shall be for grants to develop pilot programs and implement effective standards and programs, consistent with the requirements as described in subsections (c) and (d) of section 114 of H.R. 7120 as passed by the House of Representatives on June 25, 2020. juvenile justice programs For grants, contracts, cooperative agreements, and other assistance authorized by the Juvenile Justice and Delinquency Prevention Act of 1974 ( the 1974 Act )