; (2) of the record of any person who has not attained the age of 18 at the time of committing the conduct resulting in conviction for any misdemeanor or nonviolent offense 3 years after the person has completed every term of imprisonment related to that misdemeanor or nonviolent offense conviction; and (3) of the record of an arrest or prosecution for any nonviolent offense on the date on which the case related to that arrest or prosecution is disposed of. (b) Sealing petition eligibility A youth may petition a district court of the United States, for sealing— (1) of the record of any nonviolent conviction 5 years after the youth has completed every term of imprisonment related to that nonviolent conviction; (2) of the record of any person who has not attained the age of 18 at the time of committing the conduct resulting in conviction for any offense 10 years after the person has completed every term of imprisonment related to that offense conviction; and (3) of the record of an arrest or prosecution for any nonviolent offense on the date on which the case related to that arrest or prosecution is disposed of. (c) Notice of opportunity To file petition A youth shall be informed of the eligibility to, procedures for, and benefits of filing an expungement or sealing petition— (1) by the District Court on the date of conviction; (2) by the Office of Probation and Pretrial Services on the date the youth completes every term of imprisonment; or (3) if the arrest or prosecution does not result in a conviction, then by the Department of Justice on the date the case is disposed of. (d) Grant of petition If a court grants a petition under this section— (1) the person to whom the record pertains may choose to, but is not required to, disclose the existence of the record, and the offense conduct and any arrest, juvenile delinquency proceeding, adjudication, conviction, or other result of such proceeding relating to the offense conduct, shall be treated as if it never occurred