The defendant, Erick Fernando Vela, took the above-captioned appeal from an order of the Madison County District Court overruling his “Amended Verified Motion to Preclude Imposition of Death Sentence Because of Mental Retardation.” On our own motion, we entered an order to show cause, by simultaneous briefing, why the appeal should not be dismissed for lack of jurisdiction pursuant to Neb. Ct. R. of Prac. 7A(2) (rev. 2001). Those briefs have now been filed, and for the reasons stated *288 below, we conclude that the court’s order was not a final, appeal-able order and dismiss the appeal.
The defendant was charged by information in the district court with five counts of murder in the first degree and five counts of use of a deadly weapon to commit a felony. The information also contained the notice of aggravation necessary for the prosecution to seek the death penalty. See Neb. Rev. Stat. § 29-1603 (Cum. Supp. 2004). The defendant had previously been charged by information with one count of robbery, one count of burglary, and another count of use of a deadly weapon to commit a felony. Pursuant to guilty pleas, the defendant was convicted of all 13 charges against him. A jury trial was had on aggravating circumstances, and the jury found that all the alleged aggravating circumstances were proved beyond a reasonable doubt for each of the five murders.
Neb. Rev. Stat. § 28-105.01 (Cum. Supp. 2004) provides, in relevant part:
(2) Notwithstanding any other provision of law, the death penalty shall not be imposed upon any person with mental retardation.
(3) As used in subsection (2) of this section, mental retardation means significantly subaverage general intellectual functioning existing concurrently with deficits in adaptive behavior. An intelligence quotient of seventy or below on a reliably administered intelligence quotient test shall be presumptive evidence of mental retardation.
(4) If (a) a jury renders a verdict finding the existence of one or more aggravating circumstances .•. . the court shall hold a hearing prior to any sentencing determination proceeding . . . upon a verified motion of the defense requesting a ruling that the penalty of death be precluded under subsection (2) of this section. If the court finds, by a preponderance of the evidence, that the defendant is a person with mental retardation, the death sentence shall not be imposed. A ruling by the court that the evidence of diminished intelligence introduced by the defendant does not preclude the death penalty under subsection (2) of this section shall not restrict the defendant’s opportunity to introduce such evidence at the sentencing determination proceeding *289 . ... or to argue that such evidence should be given mitigating significance.
The defendant filed a verified motion to preclude imposition of the death sentence because of mental retardation. See, § 28-105.01(2);
Atkins v. Virginia,
It is the duty of an appellate court to determine whether it has jurisdiction over the matter before it.
State
v.
Ehlers,
A judgment entered during the pendency of a criminal cause is final only when no further action is required to completely dispose of the cause pending.
State v. Dunlap,
The three types of final.orders which may be reviewed on appeal under the provisions of Neb. Rev. Stat. § 25-1902 (Reissue 1995) are (1) an order which affects a substantial right in an action and which in effect determines the action and prevents a judgment, (2) an order affecting a substantial right made during a special proceeding, and (3) an order affecting a substantial right made on summary application in an action after a judgment is rendered.
State
v.
Loyd, 269
Neb. 762,
We first address whether the order affected a substantial right. A substantial right is an essential legal right, not a mere technical right. In re Guardianship of Sophia M., supra. A substantial right is affected if the order affects the subject matter of the litigation, such as diminishing a claim or defense that was available to an appellant prior to the order from which an appeal is taken. Id.
In criminal proceedings, orders affecting substantial rights include the denial of a motion to discharge based upon speedy trial grounds, and the denial of a plea in bar made on double jeopardy grounds. See,
State
v. Jacques,
The distinction among these cases is in the nature of the allegedly substantial right at issue. A substantial right can be affected by an order if the right is irrevocably lost by operation of the order, while a substantial right is not affected when that right can be effectively vindicated in an appeal from the final judgment. In
Jacques,
for instance, we explained that the denial
*291
of a motion to discharge made on speedy trial grounds affected the subject matter of the litigation because denial of such a motion effectively denied a defendant’s speedy trial rights.
Id.,
citing
State v. Gibbs,
But in
Lauck, supra,
we held that a substantial right of the defendant had not been affected, because the defendant could still present all the defenses that he could have presented before the overruling of his plea in abatement. He could still argue that he was not guilty of the crime charged, make a motion to dismiss, or present affirmative defenses, and if convicted, he could raise on direct appeal the issue initially presented by his plea in abatement. See
id.
See, also,
State v. Loyd,
The right at issue in the instant case is both statutory and constitutional. See, § 28-105.01(2);
Atkins
v.
Virginia,
*292 clearly we already prohibit the death penalty for persons under the age of 18. That’s currently the law. One of the thoughts is at that youthful age the maturity makes it difficult to have the judgment to know fully what you’re doing. Is it any more difficult for that situation than it is for an individual who has an IQ below 70, thus being mentally retarded? And the- feeling is obviously not. The mental - capacity as individuals makes it very difficult for them to understand the rightness and wrongness of what they do, the consequences of their actions. It is already a mitigating circumstance that can be used in the sentencing process. But the thought tha[t] somebody who is mentally retarded with that sort of limitation of the mental capacity should be subject to the most severe punishment, that being the death penalty, is something that is objectionable to those of us who support this measure.
Floor Debate, 95th Leg., 2d Sess. 15769 (Apr. 6, 1998).
Section 28-105.01(2) and the Eighth Amendment prohibit the execution of mentally retarded persons because of what the U.S. Supreme Court describes as a “widespread judgment about the relative culpability of mentally retarded offenders, and the relationship between mental retardation and the penological purposes served by the death penalty.”
Atkins,
This right is not lost by virtue of proceeding to final judgment prior to appellate review, and can be effectively vindicated in an appeal after judgment. Appellate review of the court’s finding pursuant to § 28-105.01(4) is not foreclosed, and any prejudice resulting from an erroneous ruling can be mitigated by a timely appeal after sentencing. See,
State
v.
Lauck,
261 Neb.
*293
145,
Furthermore, impairment of the capacity of the defendant to appreciate the wrongfulness of his or her conduct or to conform his or her conduct to the requirements of law, as a result of mental defect, remains a statutory mitigating circumstance in a capital sentencing proceeding. Neb. Rev. Stat. § 29-2523(2)(g) (Cum. Supp. 2004). A ruling by the court that the death penalty is not precluded by § 28-105.01(2) does not restrict the defendant’s opportunity to introduce evidence of diminished intelligence as it is relevant to § 29-2523(2)(g). See § 28-105.01(4). Thus, the defendant can still defend himself by presenting evidence that his culpability is mitigated by his mental capacity. Compare,
State v. Loyd,
In short, the order overruling the defendant’s motion to preclude imposition of a death sentence does not diminish a claim or defense available to the defendant at the sentencing hearing, and any prejudice resulting from the erroneous imposition of a death sentence can be protected in an appeal from final judgment. Thus, the court’s order overruling the defendant’s motion did not affect a substantial right.
Furthermore, the hearing on mental retardation provided by § 28-105.01(4) is not a special proceeding. Where the law confers a right and authorizes a special application to a court to enforce the right,.the proceeding is special, within the ordinary meaning of the term “special proceeding.” Loyd, supra. A special proceeding is, by definition, not part of an action. Id. An action involves prosecuting the alleged rights between the parties and ends in a final judgment, whereas a special proceeding does not. Id. A hearing on mental retardation pursuant to § 28-105.01(4) is a part of the action, not a special proceeding.
Special proceedings, in criminal cases, include motions to discharge made on speedy trial grounds and pleas in bar made on double jeopardy grounds. See,
State
v.
Jacques,
But a § 28-105.01(4) hearing on mental retardation, while expressly provided by statute, takes place in the context of a specialized sentencing proceeding for capital cases, the purpose of which is to guide the sentencing panel in the rational imposition of the death sentence. See Neb. Rev. Stat. § 29-2519(1) (Cum. Supp. 2004). As previously noted, in a criminal case, the judgment is the sentence.
State
v.
Campbell,
Thus, the issue of mental retardation is necessarily part of the merits of the sentencing proceeding. As such, a hearing pursuant
*295
to § 28-105.01(4) is part of the process used to decide the merits of the action and determine the judgment that should be imposed. In short, a motion pursuant to § 28-105.01(4) addresses moral culpability, and thus the merits of the State’s case against the defendant; a hearing and order overruling such a motion is part of the action, not a special proceeding. See
State v. Loyd,
Because it neither affected a substantial right nor was made in a special proceeding, the court’s order overruling the defendant’s motion to preclude imposition of the death sentence because of mental retardation was not a final, appealable order. For an appellate court to acquire jurisdiction of an appeal, there must be a final order entered by the tribunal from which the appeal is taken.
In re Guardianship of Sophia M.,
The court, on its own motion, hereby dismisses the above-captioned appeal. See rule 7A(2).
Appeal dismissed.
