By this appeal under G. L. c. 278, § § 33A-33G, the defendant asks us to rule that the val
*678
idity of his guilty pleas may be challenged by a motion for a new trial under G. L. c. 278, § 29, as amended through St. 1966, c. 301. The trial judge took a contrary view and denied such a motion. The defendant asserts, and we agree, that the remedy by motion is suitable for the purpose, and that such use of it is a logical application of the reasoning in
Earl
v.
Commonwealth,
In November, 1968, the defendant was indicted for murder and attempted armed robbery committed September 16,1968. On February 27,1969, he pleaded guilty to murder in the second degree and to attempted armed robbery, and was sentenced. In January, 1972, he filed on his own behalf a written motion for a new trial. The motion, sworn to by him, alleged among other things that he was deprived of a mental examination prior to his “trial,” that his counsel waived mental examination contrary to his desire and without his knowledge, and that he was incompetent during his “trial” and could not intelligently assist in his defence.
On January 28, 1972, the motion was heard and denied. The transcript discloses appearances by an assistant district attorney and by counsel for the defendant and a statement by the judge, but no statement or opportunity for statement by the defendant or his counsel. The judge ruled that a new trial could not be granted where there had never been a trial, and that as a motion to retract a guilty plea under G. L. c. 278, § 29C, the motion was not timely. He then said, “The only other interpretation that I could give to this instrument would be to treat it as a motion to retract your plea of guilty, because as you say, it was not intelligently and knowingly made.” He read the questions put by the court before the plea was accepted and the defendant’s answers to those questions, ruled that the plea was intelligently and knowingly made, and denied the motion. A written claim of exception dated the same day at the *679 prison was filed by mail on February 3, 1972, and a claim of appeal was filed February 8, 1972.
1. Since the defendant was indicted for murder, the case remained subject to G. L. c. 278, §§ 33A-33G, notwithstanding his plea of guilty to murder in the second degree.
Guilmette
v.
Commonwealth,
2. The judge’s ruling that “a new trial cannot be granted where there has never been a trial” was in accord with several decisions of this court.
Commonwealth
v.
Soderquest,
In 1965 we took note of “the gradual and necessary expansion of the statutory writ of error (G. L. c. 250, § § 1, 9) as a postconviction remedy broad enough to deal with constitutional problems arising under recent decisions of the Supreme Court of the United States.”
Shop
*680
pers’ World, Inc.
v. Assessors
of Framingham,
In the present case the defendant has a petition for writ of error pending before the single justice of this court. The single justice could transfer that petition to the Superior Court under G. L. c. 211, § 4A, as appearing in St. 1972, c. 740, § 2, but it has not been the practice to transfer writs of error to the court whose judgment is attacked. Compare
Needel, petitioner,
3. “The motion for a new trial is usually a matter for the trial judge’s sound discretion.
Commonwealth
v.
Dascalakis,
So ordered.
