The opinion of the Court was delivered by
In this appeal, we consider three questions: (1) whether defendants, as part of plea agreements, can waive their right to merge offenses; (2) if such waivers are allowed, did defendant voluntarily and intelligently waive his right to merger; and (3) if defendant did knowingly waive his right to merger, is he now prohibited from chаllenging that waiver? We reaffirm the position taken in
State v. Truglia,
97
N.J.
513,
I
On August 4, 1991, Ronald Lightcap asked Shawn Crawley, dеfendant, to sell him drugs on a street in Camden, New Jersey. Defendant told Lightcap that he did not have any drugs on him and that Lightcap would have to drive them to East Camden to obtain the drugs. Defendant’s purpose was not, however, to consummate the drug sale, but rather to steal Lightcap’s van. When the vаn came to a stop, defendant pointed his revolver at Lightcap and told him to get out of the van.
Instead of acquiescing to defendant’s demand, Lightcap grabbed the revolver and a struggle ensued. Eventually, defendant forced Lightcap out of the van and moved himself into the driver’s sеat. Defendant, however, was unable to close the door because Light-cap was still holding onto the revolver. Then, with defendant’s finger on the trigger, the revolver went off and the bullet hit Lightcap. Defendant left Lightcap on the street as he drove away in the van. Lightcap later died.
Prior to the killing, defendant was placed on probation for possessing and intending to distribute cocaine in 1990. He violated his probation in April 1991 by, inter alia, being arrested and indicted for receiving stolen property under an assumed name. The authorities decided to detain defendant at Camden Housе, a satellite residence for those incarcerated at Jamesburg Training School. Shortly after arriving at Camden House, defendant left the premises without permission and never returned. In May 1991, defendant was arrested and indicted again for receiving stolen property under a different assumed name. Those indictments were pending when defendant killed Lightcap.
During the pre-indictment stage of his criminal proceedings, defendant entered into a plea agreement with the Camden County Prosecutor’s Office on the charge of killing Lightcap. As a part of the agreement, defendant waived his right to have the charges *314 arising from Lightcap’s death presented to a Grand Jury. In lieu of a formal indictment, the prosecutor filed an accusation, which charged defendant with aggravated manslaughter, in violation of N.J.S.A. 2C:11^4a (Count One); armed robbery, in violation of N.J.S.A. 2C:15-la(2) (Count Two); and escape, in violation of N.J.S.A. 2C:29-5 (Count Three). In exchange for defendant pleading guilty to those three counts and to the charge of violating his probation, the prosecutor agreed to recommend the dismissal of the complaint charging defendant with felony murder in connection with the Lightcap robbery and homicide and to dismiss the indictment for the two previous proрerty offenses. In addition, the prosecutor agreed to recommend the following sentence: thirty years with fifteen years of parole ineligibility for aggravated manslaughter; a consecutive term of ten years with five years of parole ineligibility for armed robbery; a concurrent tеrm of five years for escape; and a concurrent term of four years for violating probation.
Defendant filled out and signed a three-page plea agreement. Question 18 of that form asked: “Have you discussed with your attorney the doctrine of merger?” Defendant answered yеs. Question 20 asked defendant to list any other promises he, his counsel, or the prosecutor made. He responded, “waiver of appeal; waiver of merger.”
At the first retraxit proceeding, the prosecutor stated that defendant was waiving both his right to appeal if the court imposed the recommended sentence and “any possible issue as to merger with respect to Counts One and Two in the accusation.” Defense counsel then told the trial court that she had spoken with defendant and that he was making his guilty plea voluntarily. In addition, defense counsel stated that defendant understood that he was waiving certain constitutional rights. The trial court then asked defendant if his counsel had explained what rights he was waiving by entering into the plea agreement and whether he was making the plea voluntarily. Defendant answered both questions affirmatively. The court, howevеr, did not accept defendant’s plea *315 because his recitation of what had transpired on the day in question did not provide a sufficient factual basis for a finding of guilt.
Two days later, the court resumed the retraxit proceeding. After restating the terms of the plea agreement, the prosecutor told the court that part оf the agreement involved dismissing the charge of felony murder. In fact, the prosecutor informed the court that part of the bargain was that defendant would accept the consecutive sentences in order to avoid the thirty-year period of parole ineligibility that accompanies a conviction for felony murder. The prosecutor stated: “So while it is somewhat unusual for a three-count accusation to have the counts follow consecutively one upon the other, particularly where one is for aggravated manslaughter and one is for аrmed robbery, the record should reflect it was structured in this fashion so as to give a benefit to the defendant.” Defense counsel again represented to the court that she and defendant had discussed the matter on several occasions and that she believed that defendant was vоluntarily pleading guilty.
The trial court then conducted its examination of defendant, who told the court that he was entering into the agreement voluntarily and that he reaffirmed his answers from the preceding proceeding. The court subsequently accepted defendant’s factual basis in supрort of his plea to each of the charges in the accusation and to violating probation.
At the sentencing hearing on January 15, 1992, the prosecutor reiterated that the State would have sought an indictment from the Grand Jury for felony murder if the plea agreement did not provide for consecutive sentences. Defense counsel asked the court to adopt the sentence in the plea agreement. The trial court imposed the recommended sentence.
In an unpublished order, the Appellate Division held that defendant could not agree to waive his right to merger. The panel, therefore, remanded to the trial court to determine whether the charges of aggravated manslaughter and armed robbery should *316 merge. If so, the panel ordered that defendant be resentenced. If not, the panel ordered that the sentence be sustained.
We granted the State’s petition for certification on the issue of merger, 146
N.J.
499,
II
Criminal convictions merge because a defendant who has сommitted only one offense cannot be punished as if he committed two offenses.
See, e.g., State v. Dillihay,
127
N.J.
42, 46,
Generally, a defendant who pleads guilty is prohibited from raising, on appeal, the contention that the State violated his constitutional rights prior to the plea.
See, e.g., Tollett v. Henderson,
411
U.S.
258, 267, 93
S.Ct.
1602, 1608,
Ill
In
Truglia, swpra,
the defendant was charged with two counts of attempted murder, two counts of aggravated assault, possession of a gun without a permit, possession of a gun by a convicted felon, and criminal mischief. 97
N.J.
at 517,
Even though we held that the defendant had not proven that the two offenses should merge, we addressed, in dictum, the issues raised in this case:
We conclude that a holding of non-waiver of a claim of merger following guilty pleas is more consistent with our notions of fairness, limited however to the situation in which there has been no consideration given at the plea or sentencing hеaring to the potential for merger of any of the offenses.
[Id. at 523,480 A.2d 912 .]
We added that if it was apparent that a defendant had waived his right to merger in a bargained-for plea, he would be unable to challenge that waiver on appeal.
Id.
at 524,
IV
In New Jersey, it is well-settled that a plea must be entered into voluntarily and intelligently.
Taylor, supra,
80
N.J.
at 362,
The crux of defendant’s argument is that he did not knowingly, intelligently, and voluntarily waive his right to merger. We disagree.
Defendant’s assertion that he did not fully understand that he waived his right to merger is contradicted by the record.
See Taylor, supra,
80
N.J.
at 365,
Nor is this a case where defendant was “misinformed ... as to a material element of a plea negotiation, which [he] relied thereon in entering his plea.”
State v. Nichols,
71
N.J.
358, 361,
In Truglia, we found that a defendant can waive his right to merger when entering into a plea agreement if the waiver is used as part of the consideration for that agreement. The prosecutor’s comments and the explicit waiver of merger in the plea agreement clearly show that defendant intelligently and voluntarily bargained away his right of merger so that he could receive a more lenient sentence. Because defendant clearly waived his right to merger, he cannot now challenge that waiver on appeal.
Defendant argues that the trial court should have asked specific questions about merger to determine his level of understanding as to what he was waiving. Although we do not find that such questions are required or necessary in order for defendants to waive their rights to merger, we believe that the bеtter practice would be for trial courts to ask defendants more specific questions detailing the waiver of merger.
Finally, we observe that defendant would have been unable to prove that the two charges, armed robbery and aggravated
*320
manslaughter, merge.
See N.J.S.A
2C:l-8;
Cole, supra,
120
N.J.
at 327-28,
V
Defendant voluntarily and intelligently waived his right to challenge the nonmerger of offenses and understood that that waiver was part of the consideration of his plea agreement. Because the record clearly indicates that he understood that he was waiving his right to merger, he cannot appeal that waiver.
We reverse the Appellate Division’s judgment and reinstate the trial court’s judgment of conviction and sentence of defendant.
For reversal and reinstatement — Chief Justice PORITZ and Justices HANDLER, POLLOCK, O’HERN, GARIBALDI, STEIN and COLEMAN — 7.
Opposed — None.
