This is an application for a writ of habeas corpus based principally upon the ground that the trial court was without jurisdiction to punish petitioner for contempt. The commitment was issued after the court had made two orders, one of which found the petitioner guilty of contempt of court for failure to pay alimony, and sentenced the petitioner to two days in the county jail, which order was afterward modified by the second order, and was made on application of petitioner, permitting him to pay $5 per month until he should have paid the sum of $60 ordered to be paid by him by an order made April 25, 1930, on which he had paid the sum of $10. Upon hearing of an order to show cause why plaintiff should not be punished for contempt, had on April 29, 1931, the court issued *Page 233 the commitment sentencing plaintiff to the county jail for two days.
The only judgment in this case ordering alimony is the judgment which was made by alteration of the original judgment, which alteration was made by stipulation entered into between the parties. The action was one for divorce, wherein the petitioner was granted a divorce from his wife on the ground of extreme cruelty. No order was made at that time providing for alimony and there were no children of the marriage. It was held in Lampson v. Lampson, 171 Cal. 332 [153 P. 238], and is provided in section 139 of the Civil Code, that the court has no jurisdiction to grant permanent support to a wife when the divorce is granted to the husband for the fault of the wife.
In this case the judgment was entered by consent, which provided for permanent support of the wife. The court was without jurisdiction to grant permanent support to the wife by reason of the fact that the divorce was not granted to her, but was granted to her husband for her fault, and jurisdiction cannot be conferred upon the court by consent or stipulation (Yore v.Superior Court, 108 Cal. 431 [41 P. 477]), and the parties cannot make an effective waiver of such lack of jurisdiction by stipulation. (Marin Municipal Water Dist. v. North Coast WaterCo., 178 Cal. 324, at 328 [173 P. 469]; In re McCarty,154 Cal. 534 [98 P. 540].)
The petitioner is ordered discharged.