This is an appeal by Lester Earl Murphy, Jr., hereinafter referred to as defendant, from a judgment of conviction rendered on a plea of guilty to first degree burglary in the Superior Court of Maricopa County.
The facts necessary to the determination of this appeal are as follows: The defendant was charged with two counts of burglary. Prior to the trial, a hearing was held on a motion by the defendant to suppress certain evidence alleging that it was obtained as a result of an illegal search and seizure. This motion was denied and the trial proceeded. Shortly before the case was to go to the jury, defense counsel made a .motion to dismiss the second count of the charges against the defendant on the ground that the defendant will enter a plea of guilty to the one count of first degree burgláry.
The trial- court over objection by- the-.State -granted defendant’s motion 'after advising the defendant of the circumstances and determining that the defendant with the aid of his counsel was fully aware of the consequences. The trial court, accepted the defendant’s guilty plea to count one and dist-missed count two. He was sentenced and subsequently brought this appeal relying on the sole ground that the lower court committed error by denying the defendant’s motion to suppress certain evidence on the ground that it was obtained pursuant to an illegal search and seizure.
The record shows that the defendant, who was represented by counsel-, entered a plea of guilty. By his plea of guilty he has foreclosed any inquiry into the matter of the alleged illegal search and seizure. Thomas v. United States,
*16 •'' For the foregoing reasons we find no merit to the defendant’s assignment of error.
Judgment affirmed.
