On September 25, 1974, the defendant, Philip D. Anderson, entered a plea of guilty and was convicted of one count of violating K.S.A. 21-3511, aggravated indecent solicita *343 tion of a child. Defendant was released from probation on March 17, 1977.
Defendant appeals from the district court’s denial of his application for expungement. K.S.A. 1986 Supp. 21-4619. The sole issue on appeal is whether the district court’s application of 21-4619(c)(6) to the facts of this case violates the ex post facto clause of the United States Constitution.
Defendant’s contention was not directly presented to the trial court. It is well settled that issues not presented to the trial court will not be considered for the first time on appeal.
Lostutter v. Estate of Larkin,
The expungement statute in effect at the time of defendant’s conviction, K.S.A. 21-4617(a)(Weeks), provided:
“Every offender who was twenty-one (21) years of age or older at the time of the commission of the crime for which he was committed and who has . . . fulfilled the conditions of his probation . . . may petition the court five (5) years after the . . . fulfilling of such conditions of probation . . . and may request that his record be expunged of such conviction if during such five (5) year period such person has exhibited good moral character and has not been convicted of a felony.
On July 1, 1986, K.S.A. 1986 Supp. 21-4619(c) went into effect, providing:
“There shall be no expungement of convictions for the following offenses: ... (6) aggravated indecent solicitation of a child as defined in K.S.A. 21-3511 and amendments thereto.”
At the time he committed the offense and at the time he was convicted, defendant was eligible to apply for expungement after five years. However, subsequent amendments to the expungement statute have eliminated that opportunity.
*344
Article 1, Section 9, of the United States Constitution provides: “No Bill of Attainder or
ex post facto
Law shall be passed.” In addition, Article 1, Section 10, provides: “No State shall . . . pass any
... ex post facto
Law.” In
Weaver v. Graham,
Here, the district court applied K.S.A. 1986 Supp. 21-4619(c)(6) to “events occurring before its enactment” (the 1974 conviction). By applying the statute to the 1974 conviction, the district court’s action clearly meets the first element of an ex post facto law.
As to the second element, defendant contends the district court’s application of the 1986 statute “disadvantaged” him in that it imposed additional punishment to that originally prescribed. The issue as to the second element then becomes whether elimination of the expungement remedy is a “punishment” within the meaning of the ex post facto clause. The Supreme Court noted in
Weaver,
Our Supreme Court has recognized that expungement is in fact an integral part of the sentencing process.
Stephens v. Van Arsdale,
*345 “Over the past 50 years American correctional law, turning away from the vengeance concept, has focused increasingly on the rehabilitation of the individual offender and the development of means and practices appropriate to that end. It has become common knowledge today that a criminal record is a serious handicap which works against the rehabilitation of the ex-offender. The consequences of a criminal conviction include not only the formal penalties and restrictions imposed by law but also collateral sanctions incidentally imposed by society. Although the criminal offender has paid his debt imposed by law, society stigmatizes him with the ex-convict label.”214 Kan. at 542 .
We conclude that denying defendant the opportunity to expunge his criminal record constitutes a punishment and denying him the opportunity to remove his criminal record disadvantages him; applying K.S.A. 1986 Supp. 21-4619(c)(6) to defendant’s 1974 conviction to retroactively eliminate the opportunity to remove defendant’s criminal record violates the ex post facto clause of the United States Constitution. Accordingly, we reverse and remand for consideration of defendant’s motion based upon the law in effect at the time the defendant committed the offense of which he was convicted.
Reversed and remanded.
