
480 P.2d 401 (1971)
STATE of New Mexico, Plaintiff-Appellee,
v.
David Lee COLVIN, Defendant-Appellant.
No. 546.
Court of Appeals of New Mexico.
January 22, 1971.
Dewie B. Leach, Hobbs, for appellant.
James A. Maloney, Atty. Gen., Thomas L. Dunigan, Asst. Atty. Gen., Santa Fe, for appellee.

OPINION
WOOD, Judge.
Defendant pled guilty. His plea was accepted. He was sentenced. He appeals. He claims his sentence is illegal and his guilty plea should be set aside because of an alleged search of and seizure of items from premises occupied by a co-defendant.
We do not go outside the record. There is nothing in the record before us on which to base defendant's allegation. Thus, there is nothing for us to consider. State v. Ford, 81 N.M. 556, 469 P.2d 535 (Ct.App. 1970); State v. Gunthorpe, 81 N.M. 515, 469 P.2d 160 (Ct.App. 1970).
Further, the allegation made in this appeal was never raised to nor ruled on by the trial court. Defendant seeks to raise the alleged search and seizure issue for the first time in this court. He may not do so. State v. Ford, supra; State v. Harrison, 81 N.M. 324, 466 P.2d 890 (Ct.App. 1970).
The judgment and sentence are affirmed.
It is so ordered.
SPIESS, C.J., and HENDLEY, J., concur.
