As punishment for a contempt of court in failing and neglecting to comply with an order directing the pay*3ment of counsel fees and alimony to the wife during the pendency of her suit for a divorce, the trial court made the order from which this appeal is taken, and by which the answer and cross bill of the defendant were dismissed and stricken from the files, with the direction that the case proceed as though no appearance had been made by the defendant. In Williams v. Williams (S. D.), 61 N. W. 38, the husband, who instituted an action for divorce, neglected to comply with an order of the trial court directing the payment of counsel fees and temporary alimony, and while the complainant was thus in contempt this court, ruled by the cogent principle that ‘ ‘he who seeks equity must do equity,” declined to reverse or modify a judgment for permanent alimony. But when a defendant would be deprived of his day in court, and right to have the merits of the controversy investigated and judicially determined, the courts, under an enlightened consideration for the welfare of society, have refused to strike out the answer of a contumacious defendant in an action for a divorce. While it has been held in a number of recent and well-considered cases that proceedings may be stayed or relief denied so long as a plaintiff is in contempt for a failure to pay temporary alimony, a contrary doctrine, for obvious reasons, seems to prevail where courts have been called upon to strike an answer from the files, and allow the action to proceed to an ex parte judgment. To the effect that a court is without authority to deprive a defendant of his right to resist an action for divorce, because he contemptuously disobeys an order for the payment of counsel fees and temporary alimony, see Gordon v. Gordon, 141 Ill. 160, 30 N. E. 446; Johnson v. Superior Ct., 63 Cal. 578; Peel v. Peel, 50 Iowa, 521; 2 Neis. Div. 861.
As the order appealed from must be reversed because there was no service upon the defendant, as required by statute, it is unnecessary to determine at this time whether, under any circumstances, a court would be justified in striking an answer from the files as a punishment for contempt in refusing to com' *4ply with an order or decree directing the payment of suit money or alimony in an action for a divorce. The only service of the order directing the payment of counsel fees and temporary alimony was upon counsel for appellant, and none of the orders in relation to the matter were ever served upon the defendant. The order appealed from concludes as follows: “It is ordered that, by virtue of the facts hereinbefore recited, the defendant, Neis M. Larson, whom the record herein shows to be a non-resident of this state, is in contempt of this court, by reason of his failure to comply with the order of this court made and entered herein on the 5th day of May, 1894, and the further order made July 11th, 1854; and that being without the state of South Dakota, beyond the power of the court to punish him by fine or imprisonment on account of said contempt, that he be punished by having his answer, served on the plaintiff herein, stricken from the files and records of this court, and the service thereof upon plaintiff vacated and set aside; and it is so ordered, and said answer is hereby stricken from the files and records of this court, and the service thereof upon plaintiff is hereby vacated and set aside, and this cause shall proceed as if no appearance had been made by the defendant herein.” Upon the theory that appellant was in contempt of court, the order appealed fr'om was made and entered; and the power and jurisdiction of a court to commit a contemner in a proper case may well be conceded, but from the statute authorizing the service of a paper upon the attorney, instead of the party, the following exception is expressly made in contempt proceedings, and by the following mandatory statutory requirement, found in the chapter of the Compiled Laws relating to the subject of notice and service of papers and process: “The provisions of this chapter shall not apply to the service of a summons, or other process, or of any paper to bring a party into contempt.” Sec. 5337. An order or judgment requiring the payment of temporary alimony or counsel fees must, by the law of fhis state, be served upon the party against whom the *5same is awarded, before he can be brought into contempt for a refusal to comply therewith. Comp. Laws, § 5112; Johnson v. Superior Ct., 63 Cal. 580; Hennessy v. Nicol (Cal.), 38 Pac. 649; Ryckman v. Ryckman, 32 Hun. 193; Brown v. Brown, 22 Mich. 299; Sanchez v. Sanchez, 21 Fla. 347; Edison v. Edison, 56 Mich. 185, 22 N. W. 264. The order appealed from must be reversed, and the case remanded for further proceedings. It is so ordered.