(1) It shall be unlawful for a person nineteen years of age or older to knowingly possess or receive any child sexual abuse material. Violation of this subsection is a Class IIA felony.
(2)(a) It shall be unlawful for a person under nineteen years of age to knowingly and intentionally possess or receive any child sexual abuse material.
(b) Violation of this subsection is a Class I misdemeanor. A second or subsequent conviction under this subsection is a Class IV felony.
(3) For a defendant who was eighteen years of age or older but under nineteen years of age at the time of the offense, it shall be an affirmative defense to a charge made pursuant to subsection (2) of this section that:
(a) The visual depiction:
(i) Portrays a child who is fifteen years of age or older;
(ii) Was knowingly and voluntarily generated by the child depicted therein;
(iii) Was knowingly and voluntarily provided by such child; and
(iv) Portrays only one child other than the defendant;
(b) The defendant has not provided or made available the visual depiction to another person except such child; and
(c) The defendant did not coerce such child to either create or send the visual depiction.
(4) For a defendant who was under eighteen years of age at the time of the offense, it shall be an affirmative defense to a charge made pursuant to subsection (2) of this section that:
(a) The difference in age between the defendant and the child portrayed is less than four years;
(b) The visual depiction:
(i) Was knowingly and voluntarily generated by the child depicted therein;
(ii) Was knowingly and voluntarily provided by such child; and
(iii) Portrays only one child other than the defendant;
(c) The defendant has not provided or made available the visual depiction to another person except such child; and
(d) The defendant did not coerce such child to either create or send the visual depiction.
(5) Except as provided in subdivision (2)(b) of this section, any person who violates subsection (1) or (2) of this section and who has previously been convicted of a covered offense shall be guilty of a Class IC felony for each offense.