The first of these actions, Herman W. Hoppe et al. v. Julia Hoppe and W. A. Fountain, was to *98obtain a partition between the plaintiffs and Julia Hoppe of the lands described in the complaint, Fountain being a party defendant because he claimed to be a .mortgagee of the whole of the premises under a mortgage executed by the defendant, Julia Hoppe.
The second of the actions was afterwards brought by Fountain against Julia Hoppe to foreclose said mortgage, and the plaintiffs in the first action intervened in the' second, and, by order of the court, the two actions were consolidated.
Fountain demurred to the complaint in partition, and also to the complaint in intervention, and to the answer of Julia Hoppe in the foreclosure case, and these demurrers were each sustained, and judgment dismissing the action for partition and tbe complaint in intervention and foreclosing the mortgage was entered. The inter-venors and Julia Hoppe separately appeal from the judgment upon the judgment-roll, and a bill of exceptions setting out the order consolidating the actions and exceptions to the rulings upon demurrer. The facts set out in the several pleadings demurred to are substantially the same, and show the following facts.
F. W. Hoppe died August 10,1881, leaving the appellant, Julia, his widow, and nine children, of whom these intervenors were minors, the others being of full age. At the time of his death he was possessed of a tract of land upon which he and his family resided, containing about one hundred and sixty acres, situated in Sacramento county, the same being community property. The widow was appointed administratrix, and on October 1, 1891, filed an inventory and appraisement of the estate, wherein said land was appraised at four thousand dollars. She also filed a petition praying for an order setting aside said land, with the dwelling-house thereon, “for the use of the family of deceased,” and alleged that the family consisted of herself and nine children, all of whom were named therein, but their ages were not given, nor was it alleged that any of them were minors. Upon this petition, on the seventh day of October, 1881, *99the court made an order, of which the following is a copy:
“In the Matter oe the Estate oe F. W. Hoppe, Deceased.
“Julia Hoppe, the administratrix of the estate of F. W. Hoppe, deceased, having on the twenty-first day of September, 1881, made application to the court by petition for an order setting apart for the use and benefit of the family of said deceased the real estate mentioned in said petition, together with the improvements thereon, as a homestead; and it duly appearing, to the satisfaction of the court, from the papers on file in the matter of said estate and other evidence that said deceased was a resident of Sacramento county at his death, and left estate therein; that letters of administration were duly issued to said Julia Hoppe on the fifth day of September, 1881, and said administratrix duly returned an inventory and appraisement of said estate; that the family of said deceased consist of said Julia Hoppe, his widow, and Emma, Frank, Edward, Othelie, Clara, Robert, Herman, Louis, and Lena Hoppe, his children; and that said applicant, Julia Hoppe, is entitled to have the said premises set apart to her for a homestead, and that the same does not exceed in value five thousand dollars.
“It is hereby ordered, adjudged, and decreed that all that certain piece or quantity of land lying and being in the- county of Sacramento, and state of California, and particularly described as follows .... be and the same is hereby set apart to the widow of said F. W. Hoppe, deceased, as a homestead, and shall not be subject to administration.”
The complaint in intervention further alleged that in the application for letters of administration the names of the intervenors were stated, together with their respective ages; that no homestead had been selected, declared, or recorded by F. W. iToppe and his wife, or either of them, prior to his death; that at the time *100said homestead was set apart they were minors, the eldest being then fourteen years old, and the youngest five; that the court did not fix a day for the hearing of said petition; that no notice was given in any manner of the hearing; that they had no notice of the hearing; that they had no guardian, general or special, and that they were not represented at the hearing by attorney appointed by the court or by any person.
On December 20, 1888, Julia Hoppe executed a mortgage upon the whole of the homestead to respondent Fountain, to secure the sum of five thousand dollars, and it was this mortgage which was foreclosed; and in regard to the mortgage it was alleged that Fountain took it with full knowledge of all the facts.
1. The decree setting apart the homestead vested the title thereto in the minor children and the mother. No homestead had been selected, designated, or recorded in the lifetime of the husband, and the application for the homestead, together with the order setting it apart, was made under the provisions of section 1465 of the Code of Civil Procedure. By the terms of that section the homestead thus set apart is “for the use of the surviving husband or wife, and the minor children”; and by the provisions of section 1468, when property is thus set apart to the use of the family, “the one-half of such property shall belong to the widow or surviving husband, and the remainder to the child, or in equal shares to the children, if there be more than one.” “ The term family throughout the chapter is used as synonymous with and as representing the surviving wife or husband and children, if any.” (Phelan v. Smith, 100 Cal. 170.) Whether, therefore, the order setting it apart is to be construed'in connection with the application, or whether the mother is to be regarded as having taken the title in trust for the minor children, is immaterial; in either case the homestead was set apart “for the use of the family,” and “belongs” to the widow and minor children;, and is to remain as a homestead without any power in either of the parties inter*101ested to destroy its quality as’ a homestead, until after all of the children shall have arrived at majority.
2. The court properly sustained the demurrer to the action in partition. The homestead is a place of abode for the family, and no act of any member of the family can in any way prejudice the rights of the others to occupy it. It must remain intact until the youngest child has reached its majority. Hence, it is not competent for either of the other cotenants to have a partition until that period has been reached. (Phelan v. Smith, 100 Cal. 170; Trotter v. Trotter, 31 Ark. 145; Hoffman v. Neuhaus, 30 Tex. 633; 98 Am. Dec. 492; Keyes v. Hill, 30 Vt. 759; Roberts v. Ware, 80 Mo. 363.) ¥e do not mean to say that no case can arise where a court would not authorize the partition or sale of a homestead. Circumstances might exist where it would be the duty of the.court, for the benefit of the minor, to decree a partition or order the interest of the minor to be sold. But this qualification need not be discussed.
3. As the owner of an undivided interest in the land, it was competent for the. mother to mortgage or convey such interest. She could not, however, confer upon her grantee or mortgagee any greater rights in the premises than she herself held. As she could not destroy the homestead quality of the premises, or deprive the minor children of their right to occupy the homestead, any grantee of her interest must take it subject to the same limitations. A purchaser at the foreclosure sale can obtain no greater rights than would her immediate grantee, and the court in the foreclosure proceedings would have no right by reason of any covenant in the mortgage, or allegation in the complaint, to make any order or direct any act which would affect the rights of any of her cotenants. For the purpose of informing the court of the extent of her interest and the nature of the estate which she had mortgaged, it was proper for her to allege in her answer the manner in which her title had been derived, and to show that the premises *102bad been set apart as a homestead, and that their homestead quality had not yet ceased. Upon these facts being brought to the attention of the court, the decree it might make would be adapted to the rights of the respective parties to the action. As the purchaser under the decree would not have a right of entry upon the premises as a cotenant until the termination of the homestead, that limitation should be included in the decree under which the sale should be made. The demurrer to the separate answer of Mrs. Hoppe should, therefore, have been overruled. '
4. The court properly sustained the demurrer to the complaint in intervention. The title of the intervenors was in no respect subject to the mortgage, and the rule is well settled that parties holding such title should not be joined in a suit for the foreclosure qf the mortgage (Ord v. Bartlett, 83 Cal. 428; Cody v. Bean, 93 Cal. 579); and their presence as intervenors is as equally unauthorized as though they had been made defendants. As the mortgage of their cotenant could not impair their rights, there was no occasion for them to intervene to protect their rights. The only object to be accomplished by the foreclosure is to transfer to the purchaser under the decree the same title that was conveyed by the mortgagor, and upon receiving the sheriff’s deed such purchaser will be placed in the same attitude to the other cotenants as was the mortgagor. In the foreclosure of a mortgage made by one cotenant, of his interest in lands, the court will not while the proceedings are pending, or after judgment, interfere with the rights of the other cotenants, or attempt to disturb their possession; and any allegations in the complaint of a covenant in such mortgage for the appointment of a receiver, or any prayer in the complaint for a receiver, will be disregarded by the court, for the reason that it is not competent for one cotenant, either directly or through the aid of the court, to do any act which will impair the rights of the other cotenants.
The judgment is reversed, and the court below is *103directed to overrule the demurrer oí the respondent to the answer of the defendant.
De Haven, J., McFarland, J., Fitzgerald, J., and Garoutte, J., concurred.