Appellant is confined in the Auburn State Prison. He sued out a writ of habeas corpus, which after hearing before the county judge was dismissed and appellant remanded to the custody of the warden.
His contention was that his sentence by the County Court of Kings county May 18, 1908, for a term of nine years and ten months on his conviction for violation of section 508 of the then Penal Code (now Penal Law, § 408) in having possession of burglar’s instruments, charged as a second offense, was illegal and that a seven-year term was the extreme limit authorized by statute.
Assuming appellant to be right in this contention and that he has already served more than seven years under this sentence and so would be entitled to his discharge, we think he is not in a position to have it so adjudged on habeas corpus, since while serving his sentence and on May 15, 1911, he was convicted of the crime of assault in the first degree in the County Court of Clinton county and sentenced to a term of ten years in State. prison to begin at the expiration of his former sentence. Thus relator is not entitled to be discharged from imprisonment at the present time, even if his former sentence of nine years and ten months was excessive as he claims.
The proper legal term of his imprisonment under that conviction cannot be now tested by habeas corpus since the office of the writ is not to review an erroneous judgment upon his conviction unless he is now entitled to be discharged from imprisonment. ■ After he shall have served seven years of his first term and ten years under his last conviction, then, and not until then, can he raise the question of the legal limit of his first sentence by habeas corpus. fSj
The order dismissing the writ and remanding appellant into custody must be affirmed.
All concurred.
Order affirmed.