The case turns on the validity of the final decree entered in the Circuit Court of Florida on 13 July, 1942. If this decree be *352void, the petitioner and his wife are living in a state of separation, without being divorced, and habeas corpus will lie under C. S., 2241, to determine the custody of their minor child. But if this Florida decree be valid, the petition must fail, for as to divorced parents habeas corpus is not available to determine the custody of their children. In re Ogden, 211 N. C., 100, 189 S. E., 119, and cases there assembled.
We think theré was error in holding on the facts of the present record that the decree of the Florida court is void. It is true, there is allegation and finding to the effect that W. E. Gibson discharged his Florida counsel on 20 March/ 1942, and that he had no notice of the subsequent proceedings in the Florida action. Even so, there is no suggestion of any notice to the opposing side or to the court of Mr. Smith’s discharge, or of his withdrawal from the case. He was still counsel of record during all of the subsequent proceedings. Indeed, it would seem that he was not aware of his discharge, for on 22 June, 1942, he wrote a letter to Mrs. Gibson’s Florida attorney, saying: “I have received the copies of the two notices and pleadings in the above case (Gibson v. Gibson). I am writing my client about this matter, and if I do not get definite instructions from him . . . you may go ahead and obtain a final decree.”
It is the established practice in courts of chancery that notice to counsel of record in an action is notice to the party. Ladd v. Teague, 126 N. C., 544, 36 S. E., 45.
Speaking to the subject in U. S. v. Curry, 41 U. S., 106, Chief Justice Taney, delivering the opinion of the Court, said: “No attorney or solicitor can withdraw his name after he has once entered it on the record without the leave of the court. And while his name continues there, the adverse party has a right to treat him as the authorized attorney or solicitor, and the service of notice upon him is as valid as if served on the party himself.”
It follows, therefore, as the petitioner is deemed to have had notice of all that transpired in the Florida proceeding, he will not now be heard collaterally to say otherwise. He invoked the jurisdiction of the court of his then alleged domicile. It is but meet that he should be bound by its decree. McIntyre v. McIntyre, 211 N. C., 698, 191 S. E., 507.
Accordant with the general rule, it is the holding in Florida that where an action for divorce is brought by a resident of that State against a nonresident, a divorce may be granted the nonresident on his or her cross-bill, albeit the local statute, in general terms, requires the plaintiff in an action for divorce to have been a resident of the State for a designated period of time. Krumrine v. Krumrine, 90 Fla., 368, 106 So., 131; Annotation, 89 A. L. R., 1203; 17 Am. Jur., 287. The basis of the ruling is, that when equity once takes hold of a matter it pursues it *353to the end in adjustment of the rights of all the parties. McCormick v. Proctor, 217 N. C., 23, 6 S. E. (2d), 870 (concurring opinion and authorities there assembled). “The court having obtained jurisdiction of the subject matter by reason of the complainant’s residence and jurisdiction of the defendant by reason of her appearance in the cause, the power to render a decree dissolving the bonds of matrimony between them was complete.” Krumrine v. Krumrine, supra.
Matrimony is a status, and it is this status which the plaintiff sought to have dissolved in the Florida court. The fact that he failed in his suit did not defeat the jurisdiction of the court to entertain the cross-bill of the defendant. Annotation, 89 A. L. R., 1209; 9 Ann. Cas., 1200; 17 Am. Jur., 288. Nor did his removal from the state before final decree deprive the court of its jurisdiction. Waltz v. Waltz, 18 Ind., 449; 27 C. J. S., 637-638.
The order entered on the writ of habeas corpus will be vacated and the petition dismissed.
Error and remanded.