; and (B) the record shall no longer be sealed. (e) Inclusion of State juvenile delinquency adjudications and proceedings For purposes of subparagraphs (A) and (B) of subsection (a)(1), clauses (i) and (ii) of subsection (b)(1)(A), subsection (b)(1)(C)(ix), and paragraphs (1) and (2) of subsection (d), the term juvenile delinquency includes the violation of a law of a State committed by a person before attaining the age of 18 years which would have been a crime if committed by an adult. 5044. Expungement (a) Automatic expungement of certain records (1) Attorney General motion (A) Nonviolent offenses committed before a person turned 15 If a person is adjudicated delinquent under this chapter for a juvenile nonviolent offense committed before the person attained 15 years of age and completes every term of probation, official detention, or juvenile delinquent supervision ordered by the court with respect to the offense before attaining 18 years of age, on the date on which the person attains 18 years of age, the Attorney General shall file a motion in the district court of the United States in which the person was adjudicated delinquent requesting that each juvenile record of the person that relates to the offense be expunged. (B) Arrests If a juvenile is arrested by a Federal law enforcement agency for a juvenile nonviolent offense for which a juvenile delinquency proceeding is not instituted under this chapter, and for which the United States does not proceed against the juvenile as an adult in a district court of the United States, the Attorney General shall file a motion in the district court of the United States that would have had jurisdiction of the proceeding requesting that each juvenile record relating to the arrest be expunged. (C) Expungement order Upon the filing of a motion in a district court of the United States with respect to a juvenile nonviolent offense under subparagraph (A) or an arrest for a juvenile nonviolent offense under subparagraph (B), the court shall grant the motion and order that