; and (ii) protection from civil and criminal perjury, false swearing, and false statement laws with respect to a sealed record; (13) the term sealing hearing means a hearing held under section 3632(b)(2)(B); and (14) the term sealing petition means a petition for a sealing order filed under section 5043(b). . (c) Confidentiality Section 5038 of title 18, United States Code, is amended— (1) in subsection (a), in the flush text following paragraph (6), by inserting after bonding, the following: participation in an educational system, ; and (2) in subsection (b), by striking District courts exercising jurisdiction over any juvenile and inserting the following: Not later than 7 days after the date on which a district court exercises jurisdiction over a juvenile, the district court . (d) Sealing; expungement (1) In general Chapter 403 of title 18, United States Code, is amended by adding at the end the following: 5043. Sealing (a) Automatic sealing of nonviolent offenses (1) In general Three years after the date on which a person who is adjudicated delinquent under this chapter for a juvenile nonviolent offense completes every term of probation, official detention, or juvenile delinquent supervision ordered by the court with respect to the offense, the court shall order the sealing of each juvenile record or portion thereof that relates to the offense if the person— (A) has not been convicted of a crime or adjudicated delinquent for an act of juvenile delinquency since the date of the disposition