On the 17th day of November, 1910, a suit was pending in the circuit court of Jasper county, in which the Conqueror Trust Company was plaintiff and the petitioner herein and three others were defendants. On that day the plaintiff in that suit caused a notice to be served on the defendants, notify-' ing them that on the 22d day of November depositions in behalf of plaintiff in said cause would be taken before H. B. Davidson, a justice of the peace in Galena township, in said county. After the notice had been served on all of the defendants, except the petitioner, the justice issued a subpoena for him and delivered the same to the respondent herein, who is the constable of said township. On the 17th the constable subpoenaed the petitioner, and at the same time served him with a copy of the notice to take depositions. The constable made his return showing that the notice and subpoena had been' duly delivered to the petitioner. On the 22d *708the petitioner failed to appear in obedience to the subpoena. At the request of the plaintiff the justice issued an attachment for petitioner and delivered the same to 'the constable. On account of the failure of the witness to appear the justice adjourned the taking of the depositions until the next day, which was the 23d.
The notice to take depositions recited that the depositions would be taken between the hours of eight o ’clock in the forenoon and six o ’clock in the afternoon, and if not completed on the 22d, would be continued from day to day, at the same.place, and between the same hours, until completed.
At the hour of two o ’clock on the 23d the constable had been unable to find the witness, whereupon the justice made the following order:
“It appearing that the said A. W. Canada has not yet been found, it is therefore ordered that the cause .be continued until Thursday, November 24, 1910, at the hour of ten o ’clock a. m. unless the said A. W. Canada be sooner brought before me in obedience to the attachment issued in this cause.”
On the same day and at the hour of eleven o’clock p. m., the constable, having found the witness, caused him to be taken before the justice in obedience to the writ of attachment. The attorneys for the plaintiff were present and asked the justice to swear the witness so his deposition could be taken. The witness was sworn to testify without making objections, whereupon the following proceedings were had. (Examination by Mr. Kelsey, plaintiff’s attorney.)
“Q. Your name is A. W. Canada? A. I absolutely refuse, under the advice of my attorneys, to answer any and all questions.
“Q. On what grounds ? A. What I said.
“Mr. Kelsey: I ask that the witness be committed to jail until he answers.
*709“The Justice: I will have to order you to answer. Mr. Canada. A. I refuse. ’ ’
On account, of the refusal of the petitioner to answer the justice issued a commitment, by which the constable was directed to take the petitioner into custody and commit him to prison, there to remain without bail, until he would testify in the cause. At the same time the justice issued the commitment he made another order continuing the matter until the hour of ten o’clock a. m. of the 24th, at which time, the constable was directed to have the petitioner before the justice to give him an opportunity to testify. The petitioner was brought before the justice on the 24th, and he again refused to testify and he was, by the justice, remanded to the custody of the respondent herein, and the taking of the deposition continued to the 25th. On the 25th the petitioner was again taken to the justice’s office and he again refused to testify.
On the 25th a writ of habeas corpus was issued by the circuit court of Jasper county directing the respondent to have the petitioner before the court on that day. Pursuant to that writ the respondent caused the petitioner to appear in said court. A hearing was had in that court, and the petitioner was remanded to the custody of the respondent until he complied with the judgment, under which he was held.
The record of the justice shows that, daily, from the 23d of November until this cause was heard in this court, on the 2d day of December, the petitioner was taken before the justice and an opportunity was given him to testify and he refused to do so.
On the 28th day of November the petitioner applied to one of the judges of this court for a writ of habeas corpus and the same was issued, returnable to the court in term, and the matter has been heard by the court.
It is the first claim.of petitioner that the justice was without authority to take his testimony as a wit*710ness for the reason that the subpoena for him was issued before he had been served with the notice to take depositions. Admitting for the purposes of this case, that the objection would be well taken in a case wherein there was only one defendant, but in the case in which petitioner was called upon to testify there were four defendants and three of whom had been served with the notice before the subpoena was issued. As to such defendants the justice was authorized to take depositions. [Millspaugh v. Railroad, 138 Mo. App. 31, 119 S. W. 993.]
Soon after the suit was commenced in the Jasper County Circuit Court against the petitioner and others a. petition was filed in the Federal court to have the petitioner adjudged a bankrupt, and the petitioner alleges that the bankruptcy proceedings ousted the state' court of jurisdiction of the cause, and further that the purpose of taking the deposition was to obtain evidence against him in the bankruptcy, and was not in good faith.
In no event could the filing of the petition, to have petitioner adjudged á bankrupt, stay the proceedings of the state court as to the other defendants, or the right of plaintiff to take depositions to be used against such other defendants.
If the petitioner, when called upon to obey the command of the state, had appeared before the justice, and when sworn, objected to answering questions, which he believed were not asked in good faith as directly affecting him as a party to the suit, on the ground that the subpoena was issued before he had been notified of the taking of the depositions he might have been justified. But it is not necessary for us to so hold as he refused to testify at all. As said by the court in Ex parte Button, 120 N. W. 203, “If it should be sought to perpetuate a wrong, or to abuse the process of the court, or the officer, for an unjustifiable purpose, we think the witness might lawfully refuse to answer; but *711this question is not presented here, since the petitioner refused to he sworn or to testify at all.”
It is also contended that the notice stated that the depositions would be taken between eight o ’clock in the forenoon and six o ’clock in the afternoon and the justice was without authority to take depositions at eleven o’clock p. m. And further that the commitment does not set forth the questions asked of petitioner so that the court can determine therefrom whether the same were material.
It is held in the Shull case, 221 Mo. 623, 121 S. W. 10, that a commitment which does not set forth in detail the acts constituting the alleged contempt is fatally defective. Under that authority we hold the commitment in this case defective.
The authority of the justice to take depositions was limited to the time and place named in the notice. [In the Matter of Green, 126 Mo. App. 309, 103 S. W. 503.] The hours fixed in the notice were between eight o’clock in the forenoon and six o’clock in the afternoon, and when the justice attempted to take the deposition at eleven o’clock p. m., he was acting without authority. The order made during the proper hours on the 23d to adjourn the taking of the depositions until the 24th was the only legal order made on that day, and, therefore, it was the duty of the constable when he arrested the petitioner under the attachment to take him before the justice on the 24th.
The record of the justice shows that on the 24th the petitioner was brought before him by the constable, and that the petitioner refused to testify in the case and the justice ordered him into the custody of the constable, and continued the taking of depositions until the next day, when the petitioner was again brought before the justice and the same proceedings had. And each day since said time to the hearing in this court the petitioner was taken before the justice and given an opportunity to testify, and he has, on *712every occasion refused to testify, and in so doing, has acted on the advice of his legal advisers. '
We have held that the subpoena was lawfully issued and served and that it was the duty of the petitioner to appear in obedience thereto, and as it was his duty when taken before the justice on the 24th to testify he should have done so. But he refused to testify without any lawful excuse and his refusal from day to day to testify in the cause had been an open, persistent defiance of the law. [Re Clark, 28 L. R. A. 242.]
If the justice had attempted to compel him to answer any improper questions,, sections 6404, Revised Statutes 1909 offered him full protection and at the costs of the party in whose behalf the improper questions were asked.
When the petitioner was taken before the justice on the 24th he was there not in obedience to the subpoena but by virtue of the attachment issued by the justice, and when the justice caused him to be brought before him on that writ his authority was not limited to imposing a fine for failure to obey the mandate of the subpoena, but he had the right to hold him until his testimony could be taken. [Ex parte Button, 120 N. W. 203.] The right to hold the prisoner when brought before the court on the writ of attachment until he testified is a power given to enforce the duty to appear and testify. [Re Clark, 28 L. R. A. 242.] If nothing more was shown than the commitment the petitioner would be entitled to his discharge, but the evidence shows that at the time the petitioner applied to the circuit court of Jasper county for writ of habeas corpus the justice was continuing the taking of the depositions from day to day to give him an opportunity to obey the laws of the commonwealth and appear and testify as it was his duty to do.- And that the circuit court refused to discharge him but remanded him to the custody of the constable. The evidence further shows, *713that after the proceedings in the circuit court, the justice continued to postpone the matter from day to day to give the petitioner an opportunity to testify, and that he had been given that opportunity every day since, and the same is still open to him unless the taking of the deposition had been abandoned since the cause was heard on the merits in this court.
“When the justice on the 24th ordered the petitioner into the custody of the constable it was not necessary that any commitment be issued, as it was the order that gave the authority and not a commitment issued thereon. [Ex Parte O’Brien, 127 Mo. l. c. 488, 30 S. W. 158.] And until the taking of the deposition has been completed the proceeding is similar to- the trial of a case in court. The witness is required to attend until discharged, and the petitioner, having been brought before the justice on the writ of attachment, was not entitled to his discharge, but the justice had the right to keep him in custody until he testified or until the taking of the deposition was completed. And by section 2472, Revised Statutes 1909, it is expressly-provided that it shall be the duty of the court to forthwith remand the party if it shall appear ‘ ‘ that the time during which such party may legally be detained had not expired.”
The petitioner is deprived of his liberty for the sole reason that he unlawfully refuses to obey the law. He can have his liberty when he consents to respect the command of his state. In other words, he carries in his pocket the key to his cell, and if he does not enjoy the fullest freedom it is because- he refuses to unlock his own cell. As said by the Supreme Court in Ex Parte Crenshaw, 80 Mo. l. c. 454. “The prisoner has no occasion in such a case to apply to the courts for his discharge. He has it in his power to obtain it by doing what he should and has power to do. If he should be released he would be in contempt of court.”
*714We will remand the petitioner to the custody of the respondent with directions to take him before the justice and if the taking of the deposition has been abandoned to release him; otherwise, that his testimony rhay be obtained.
All concur.