Burr, J.:
On the 18th day of November, 1908, Frank M. Gagliardi was convicted of the crime of feloniously aiding illegal voting by inducing *407one Savarino to vote at a village election held in the village of White Plains on the 19th of November, 1907, well knowing that said Savarino was not entitled to vote thereat. He was thereupon sentenced to the New York State Beformatdry at Elmira. While he was still in the custody of the sheriff of the county, the district attorney instituted a proceeding against John Doe for procuring persons to illegally vote at such election, and subpoenaed the said Gagliardi to attend as a witness before a Supreme Court justice sitting as a committing magistrate. Gagliardi was asked among other things what he knew about the village election of 1907, or any matter by which a violation of the law could be shown. He refused to answer and was directed by the magistrate to do so, and he then testified as to his efforts to procure twenty-five men outside of the village to vote at said election. Notwithstanding the statement of the magistrate at the commencement of the examination that he need not say anything in connection with the crime for which he had been convicted, I think it must be conceded that the question propounded was sufficiently broad to relate to such crime and that the testimony subsequently given did so relate. Immediately after the conclusion of such examination, the relator here, who was'and is the attorney for said Gagliardi, sued out a writ of habeas corpus and demanded his discharge upon the ground that he was no longer subject to punishment. The statute under which Gagliardi was convicted is contained in title 5 of the Penal Code relating to crimes against the elective franchise. Said title provides, among other things, as follows: “A person offending against any section of this title is a competent witness against another person so offending and may be compelled to attend and testify on any trial, hearing or proceeding or investigation in the same manner as any other person. The testimony so given shall not be used in any prosecution or proceeding, civil or criminal, against the person testifying. Any such person testifying shall not thereafter be liable to indictment, prosecution or punishment for the offense with reference to which his testimony was given, and may plead or prove the giving of testimony accordingly, in bar of such an indictment or prosecution.” (Penal Code, tit. 5, § 41 q.) The determination of this proceeding depends upon the meaning of the word “punishment” in the section above quoted. In construing statutes words are to be used in their technical meaning, if they *408have acquired such meaning, and in their popular meaning if they have not, unless adequate grounds are found either in the context or in the consequences - which would follow from a literal interpretation, for concluding that such interpretation does not give the real intention of the Legislature. (Endlich Interp. Stat. § 2.) A thing which is within the letter of the statute is not within the statute unless it be within the intention of the makers. (Riggs v. Palmer, 115 N. Y. 506.) The Legislature has provided with reference to the Penal Code that “ The rule that a penal statute is to be strictly construed does not apply to. this Code or any of the provisions thereof, but all such provisions must be construed according to the fair import of their terms, to promote justice, and effect the objects of the law.” (Penal Code, § 11.)
Punishment is either the act of inflicting a penalty for an offense or the enduring of the penalty. (Century Diet, title “ Punishment.”) The word “ punishment ” as used in the statute under consideration may, therefore, relate either to the act of the court in determining the extent of the punishment to be inflicted and imposing a proper sentence to give effect to such intent, or it may relate to the physical pain and discomfort connected with the enduring of the sentence inflicted. Which meaning will the better promote justice and effect the objects of the law ?
Offenses against the elective franchise, like those against the laws relating to gaming, bribery, or in violation of the statutes enacted under the provisions of the interstate commerce clause of the Federal Constitution, are often difficult of proof because knowledge of the facts which will constitute the necessary evidence is confined to participants in the offense. For that reason various statutes have been passed both by Congress and by various State Legislatures, intended to facilitate prosecuting officers in securing such evidence, even to the extent of compelling a supposed participant in the crime to appear and testify. Both the Federal and the State Constitutions, however, contain provisions to the effect that no person shall be compelled in any criminal case to be a witness against himself. (State Const. art. 1, § 6; U. S. Const. 5th Amendt.) Any statute which, while it compels him to testify, protects the witness if he does disclose the circumstances of his offense *409the sources from which or the means by which evidence of its commission or of his connection with it may be obtained or made effectual for his subsequent prosecution and conviction, is sufficient to comply with the constitutional requirements. (People ex rel. Lewisohn v. O'Brien, 176 N. Y. 253; People v. Cahill, 126 App. Div. 391; affd., 193 N. Y. 232; Counselman v. Hitchcock, 142 U. S. 547; Emery's Case, 107 Mass. 172.) Such a statute, however, should be construed to effect a practical and beneficent purpose, namely, at the same time to secure the witness in his constitutional right and to permit the prosecuting officer to secure evidence of a crime. It should not be construed so as to unduly.impede, hinder or obstruct the administration of criminal justice. (Brown v. Walker, 161 U. S. 591.) Part of the punishment of a crime, giving to.the word1 its secondary meaning of the pain to be endured in consequence of it, arises from the shame and the disgrace attendant upon conviction and sentence. Eo statute could take that away, and yet, although that has been urged as a reason why a statute similar in form to this one did not give complete indemnity under the Constitution to the person to be examined, such contention was not sustained. (Brown v. Walker, supra.) Statutes similar to the one in question have always been construed solely as statutes of indemnity, passed to fulfill the constitutional requirements, and not as statutes either of reward to the person testifying or of general amnesty. It not infrequently happens that a person serving a sentence in one of the penal institutions of the State is brought into court to testify as to the participation of another in the crime of which he has been convicted. It has never heretofore been claimed that the effect of giving such testimony was to work an immediate pardon or suspend the further execution of the sentence. It may well be that the Legislature thought if a person who had been convicted of a crime, but who had not been sentenced, were compelled by his testimony to disclose his participation in other similar crimes, the mind of the court might be affected in determining the extent and severity of the sentence when the court had discretion in the matter. For that reason the Legislature may have deemed it wise to provide, not only that no indictment or prosecution should follow such examination, but that the judicial act of fixing the punishment should precede it if he had already *410been convicted. Giving it such construction, full force and effect may be given to every word of the statute so as “ to promote justice and effect the objects of the law,”
The order appealed from should be affirmed.
■ Woodward and Jenks, JJ., concurred; Gaynor, J., concurred on the ground that the immunity has no reference to persons already convicted of the crime ; Rich, J., dissented.
Order affirmed, without costs.