During their marriage, Clarence and Betty Lerner adopted two children, Gerald and Linda. The marriage failed, and a final decree of divorce was entered on May 10, 1948. The decree awarded legal custody of the children to Clarence and Betty jointly, and physical custody to Betty for the greater part of each year. No appeal was taken from the final decree. On May 25, 1950, both parties consented to an order modifying the custody provisions of the final divorce decree to allow Gerald to attend the Menlo School for Boys as a full-time student.
On March 9, 1951, after application by Clarence, the final decree was modified to award custody of Gerald to his father, subject to the condition that the boy “be kept enrolled in school as at present.” Betty promptly appealed from the March 9th order and her appeal is presently pending before this court.
On July 16, 1951, Clarence served notice that he would seek an order from the trial court authorizing him to enter Gerald as a student in the Oxford Academy of Individual Education, Pleasantville, New Jersey. Court permission for removal of the boy was necessary because the March 9th order granting custody to Clarence was conditional on Gerald’s attendance at the Menlo School. The motive for Clarence’s action is in dispute. Clarence alleges that Gerald cannot adjust himself to class instruction and requires individual education, that the Menlo School refused to accept him for another term, * that educational authorities and a child psychiatrist recommended enrollment in the Oxford Academy, and that it will cost Clarence approximately $10,000 annually to send the boy to the New Jersey school. Betty asserts, however, that Gerald is a bright normal boy, that educational authorities inform her that it is not only unnecessary but would *680 be harmful for Gerald to attend the Oxford Academy, and that the real motive for the boy’s removal to New Jersey is to transfer him 3,000 miles from Betty.
On July 23, 1951, at the hearing on Clarence’s motion, Betty advised the trial court that the filing of the appeal from the March 9th custody order had deprived the trial court of jurisdiction to make further modifications of the custody provisions of the final divorce decree. Nevertheless, the trial court took the testimony of several witnesses in support of Clarence’s motion. Betty then filed an application with this court for a writ of prohibition and, after transfer of the petition to the District Court of Appeal, the alternative writ issued on August 10th, and it is still in force.
Trial Court Jurisdiction Pending Appeal
The first question to be determined is whether the trial court had jurisdiction to enter any order allowing Gerald to leave the state pending appeal from the March 9th custody order.
Section 946 of the Code of Civil Procedure provides: “Whenever an appeal is perfected, as provided in the preceding sections of this chapter, it stays all further proceedings in the court below upon the judgment or order appealed from, or upon the matters embraced therein. ...” It is therefore well established that an appeal from a custody order deprives the trial court of jurisdiction to change the custody status at the time of the appeal.
(Vosburg
v.
Vosburg,
Clarence contends that the trial court may nevertheless allow “temporary” removal to New Jersey pending appeal, *681 relying upon the provision in section 946 that “the court below may proceed upon any other matter embraced in the action and not affected by the order appealed from.” Clarence points out that the “order appealed from” is the order of March 9th modifying the final decree by transferring custody of Gerald from Betty to Clarence. He states that his application to enroll the boy in the New Jersey school “has absolutely no relationship” to the custody order, but would merely change the locale of the boy’s education from the Menlo School to New Jersey.
The contention that the removal proceeding is not upon a matter embraced within the custody appeal disregards the factual setting of this action. At the time Betty perfected her appeal from the modification order of March 9th, the parents had joint legal custody and Gerald was enrolled full time at Menlo School, where Betty wished him to be educated, where she could visit him, and where she could invoke the protection of California courts to enforce the provisions of the final divorce decree. The essence of custody is the companionship of the child and the right to make decisions regarding his care and control, education, health, and religion. (See
Roche
v.
Roche
Moreover, an examination of the recognition given custody decrees in other states demonstrates that the phrase in section 946, “all further proceedings in the court below upon the judgment or order appealed from,” must be interpreted to include action by a trial court giving “temporary” permission to take a child from the state pending appeal from .a custody order. Although it may be assumed that the California decree would receive the same respect in other states that foreign custody decrees receive in our courts (see
*682
Sampsell
v.
Superior Court,
Clarence contends that the trial court “has power to make all necessary orders needed for the child’s welfare and is not to be blocked by an appeal based on mere partisan interest and desire.” This contention assumes the question to be decided by the appeal: did the trial court correctly decide that the status of the child’s custody as of March 9th was not in his best interests ? The paramount concern in custody proceedings is the walfare of the child
(Puckett
v.
Puckett,
Clarence invokes decisions to the effect that pending appeal a trial court has jurisdiction to require a father to make payments for child support. (Civ. Code, § 137.2;
Dixon
v.
Dixon,
Clarence next contends that any order affecting Gerald’s education is not a matter embraced in the appeal from the March 9th order, on the ground that Betty consented to the Menlo School provision in the final decree and a consent order cannot be appealed. (See cases collected in 2 Cal.Jur. 225.) The record does not indicate that the May 25th consent, as adopted in the March 9th decree, waived Betty’s rights of physical custody for more than one semester, and there is nothing to show that Betty ever consented at any time that the child could be enrolled in any school other than the Menlo School. In any event, Betty has filed a valid appeal from that part of the March 9th order awarding custody to Clarence, *684 and that appeal would be undermined by an order allowing the child to be taken from the state.
Clarence contends that the appeal did not operate to stay the New Jersey order on the ground that Betty had voluntarily delivered the boy to the Menlo School before perfecting her appeal. Clarence relies on
In re McKean,
A litigant in a custody action is entitled to appellate review before his rights are finally determined. If the appellant is not protected from adverse action by the trial court that would destroy the fruits of his appeal, the right of appeal is illusory. In contending that the trial court can permit removal of the children pending appeal, Clarence in effect contends that custody orders should be immediately executed and not stayed by appeal. The statutes and decisions of this state are opposed to this contention, although some states have a contrary rule. (See
Scheffers
v.
Scheffers,
In summary, at the time Betty perfected her appeal, she had custody of Gerald under a decree providing that-the boy should attend the Menlo School. An order' which so disturbs the custody of the child as to permit him to be taken out of this state, pending final determination of the appeal, would be an act in excess of the jurisdiction of the trial court.
(Vosburg
v.
Vosburg, supra;
see
State ex rel. Cash
v.
District Court,
*685 Motion for Attorney Fees and Costs
On September 14, 1951, Betty applied to the District Court of Appeal for attorney fees and costs incurred in the prohibition proceeding. The application will be considered as addressed to this court after the hearing was granted following the District Court decision. Betty alleges that she does not have the financial resources to prosecute the prohibition proceeding, that Clarence has a financial worth of $1,000,000, and that he has a yearly income of $100,000.
The petition for a writ of prohibition was filed July 31,1951, and the alternative writ issued on August 10, 1951. Insofar as the present application is for counsel fees for services performed before September 14th, the date of the application, the motion must be denied.
(Warner
v.
Warner,
Civil Code, section 137.3, enacted in 1951, provides that,11 during the pendency of any action for divorce . . . the court may order the husband ... to pay such amount as may be reasonably necessary for the cost of maintaining or defending the action and for attorney’s fees.” Section 137.3 is a recodification of the first sentence of former Civil Code, section 137. It was settled under section 137 that the phrase therein, “when an action' for divorce is pending,” embraced many diverse proceedings growing out of the divorce action and arising after entry of the final decree.
(Wilson
v.
Wilson,
On principle ,there is no difference between actions in which a woman is compelled by her former husband to resist by an appeal a proceeding brought by him to modify a custody or *686 alimony award and actions in which she is compelled to seek prohibition to prevent improper modification of such awards. In either ease she may be unable to retain counsel to represent her, and the policy underlying section 137.3 and the cases above cited are controlling.
In maintaining that section 137.3 does not apply to prohibition proceedings, Clarence first contends that Betty can recover suit money only when he is the other party to the litigation, and that here the respondent is the superior court. The statute does not support this contention. Section 137.3 is not framed to limit its application to actions in which the other spouse is a “plaintiff” or “defendant.” Instead, it applies during the “pendency of any action for divorce” and payments are to be made by the “husband.” Moreover, the adverse party in the present proceeding is clearly Clarence, the “real party in ^interest,” and not the superior court, the nominal respondent: The same attorneys represent Clarence and the respondent. The prohibition action is directed against Clarence, since Betty’s success would preclude the trial court from making the custody order that he requests. In the early development of the writ of prohibition, it is true, the writ was used by the king’s courts to increase their authority at the expense of the ecclesiastical courts (1 Holdsworth, History of English Law, 3d ed., pp. 229, 594) and the lower court was thus a party to the litigation in a substantial sense. In California practice, however, an application to an appellate court for the writ is simply one of several means by which a litigant may obtain a review of action or threatened action by a trial court. (See 36 Cal.L.Rev. 75, 101-105; 23 So.Cal.L.Rev. 530, 533-537.) The objective is the same as in an appeal, to prevent the trial court from taking action favorable to the other party. Thus the Rules on Appeal recognize the adversary character of prohibition proceedings by providing that the petition for the writ must disclose the name of the real party in interest (Rule 56(a)), that points and authorities must be served upon him (Rule 56(b)), and that he may demur or answer to the petition (Rule 56 (e)). Further, it is established that counsel fees may be recovered in mandamus proceedings in which the superior court is the nominal respondent.
(Parker
v.
Parker,
Clarence relies on
McCarthy
v.
Superior Court,
No reason thus appears why the fact that the superior court is the nominal respondent in this proceeding bars an award of attorney fees against the real party in interest under section 137.3.
Clarence contends finally that the Supreme Court is not the proper forum for this proceeding. This contention must be sustained. Assuming that we have jurisdiction to entertain an application for counsel fees, as a power necessarily incident to our original jurisdiction to issue the writ of prohibition, we should not pass upon an application involving questions of fact on the basis of the printed record and affidavits when a more satisfactory alternative exists.
In
Parker
v.
Parker,
The trial court is not deprived of jurisdiction to award counsel fees because the action is an original proceeding before the appellate court. The decision whether the peremptory writ should issue is only a part of the whole litigation between Clarence and Betty on the custody matter. In an analogous situation of an appeal from a custody or alimony order, the lower court retains power to order payment of counsel fees to enable the wife to prosecute her appeal, and such order is not considered in excess of the trial court’s jurisdiction as a “further proceeding in the court below upon the judgment or order appealed from.” (Code Civ. Proc.,
*688
§ 946;
Reilly
v.
Reilly,
Under the circumstances of this case, Betty should not be penalized because her application was erroneously made to the appellate court. Accordingly, the denial of her motion for attorney fees will be without prejudice to application to the trial court for attorney fees and costs incurred since the date of the motion, September 14, 1951.
The motion for attorney fees and costs is denied without prejudice. Let the peremptory writ of prohibition issue as prayed.
Gibson, C. J., Shenk, J., Edmonds, J., Carter, J., Sehauer, J., and Spence, J., concurred.
Notes
PencLmg determination, of the prohibition proceeding, however, the Menlo School has accepted the boy.
