Appellant is a prisoner at McNeil Island. He filed a petition for a writ of habeas corpus in the District Court of the United States for the Western District of Washington, Southern Division, claiming that he was unlawfully deprived of his liberty because the statute under which he was convicted had been repealed prior to the acts on his part complained of.i He was convicted of a violation of sections 3266, 3281, and 3282, of the Revised Statutes (Comp. St. §§ 6004, 6021, 6022)'. Section 3266 forbids the use of a still in a dwelling house dr inelosure connected therewith. Section 3281 forbids the carrying on of a distilling business without furnishing a bond. Section 3282 forbids the fermentation of mash except in a distillery duly authorized. The contention is that these sections were repealed by the National Prohibition Act (Comp. St. Ann. Supp. 1923, § ÍOISS/^ et seq.). The District Court dismissed the petition.
The questions which appellant seeks to have determined in this proceeding could have been raised by demurrer to the indictment or motion in arrest of judgment. The writ of habeas corpus cannot he made to perform the office of a writ of error. The court which tried appellant had juris-, diction to determine the questions now relied on, and, if they had been determined adversely to appellant’s, contentions, he would have had his remedy on writ of error. The questions not having been raised at the time of trial or before sentence, they are not available to him in this proceeding. This court has expressly so held. Bechtold v. United States, 276 F. 816. The Supreme *355Court has announced the samo rale. Glasgow v. Moyer, 225 U. S. 420, 428, 420, 32 S. Ct. 753, 56 L. Ed. 1147.
The deeree is affirmed.