An order to show cause why a writ of prohibition should not be issued by this court restraining further proceedings in an action pending in the circuit court within and for Custer county having been issued and served, defendants appeared by counsel, and demurred to plaintiff’s application on the ground that it does not state facts sufficient to warrant the issuance of the writ. No objection having been raised to the form of the return, the matter will be considered as an application upon notice for a peremptory writ of prohibition to which the defendants have answered without raising any issue of fact affecting the substantial rights of the parties. Therefore the facts disclosed by the application will, for the purposes of this proceeding, be taken as true. Such as are deemed essential to an understanding of the legal propositions to be discussed may be stated as follows: The Crown Hill Mining Company is a corporation created by and existing under the laws of'this state. On March 19, 1901, an action was commenced in the circuit court within and for Minnehaha county by a stockholder to have the corporation adjudged insolvent, and a receiver appointed. The summons and complaint were served upon the secretary of the corporation in Minnehaha county, where he then resided. The corporation appeared by counsel, and such proceedings were had that on March 20, 1901, a judgment or order was entered wherein it was ordered, adjudged and decreed that the corporation is insolvent; that H. N. Gates (the plaintiff in this proceeding) be appointed receiver of the corporation and of all its property and assets,, with the usual powers of receivers in such cases; that the receiver may, from time to time, apply to the court for such other and further powers or authority as may be necessary for the carrying out of his duties, and that such powers and .authority may be granted by supplemental judgments and decrees; that the officers, *252agents and employes of the corporation deliver possession to the receiver of all books, assets, and other property belonging to it, and execute such necessary and proper instruments of conveyance as may be required to vest the title to all of its property in the receiver ; that the corporation and' each of its officers, agents, servants, and employes be enjoined and restrained from interfering with the possession by the receiver of the property and assets of the corporation; that the receiver shall liquidate the affairs of the corporation with all convenient speed, and convert its money and assets into cash, and out of the money so received by him pay the indebtedness of the corporation, and dispose of the balance, if any there be, under the direction of the court; that upon the winding up of the affairs of the corporation such supplemental judgment be entered as may be proper dissolving the defendant as a corporation, and adjudging to plaintiff his costs and disbursements, and giving to plaintiff such other and further relief as may seem just, fit, and equitable in the premises. On the same day Gates qualified and entered upon the discharge of his duties as receiver. On April 26, 1901, an action was commenced in the circuit court within and for Custer county, wherein James R. Smith (one of the defendants in this proceeding), a stockholder and creditor of the corporation, is plaintiff, and the corporation and Gates are defendants. It is alleged in the complaint in that action that the corporation’s principal place of business is at Rapid City; that it is in possession of mining property located in the counties of Custer and Lawrence; that the debts of the corporation did not exceed $25,000; that its- property could, with reasonable effort, be sold for $100,000; that Smith obtained a judgment against the corporation on March 11, 1901, for $674.05; that executions were issued thereon, and all of the property of the corporation in Custer and Lawrence counties was *253seized about April i, 1901; that the proceeding in Minnehaha county was instituted by certain officers and directors of the corporation •and one of its stockholders for the purpose and with intent to delay and defraud the creditors and other stockholders of the corporation. And the plaintiff prays that said judicial proceedings, judgment, and appointment of Gates as receiver, be declared fraudulent, without jurisdiction, and void; that, the defendants in that action, their agents, officers, and attorneys, be enjoined and restrained from interfering with the property and assets of the corporation pending the litigation, and that upon final hearing the injunction be made perpetual; that upon the hearing a temporary- receiver be .appointed to take care and custody of the property and assets of the corporation, with power to sell the property of the corporation, and dispose of the proceeds in payment of debts, etc. On April 27, 1901, the circuit court within and for Custer county made an order, without notice, restraining the corporation, and Gates, as receiver, from selling or disposing of, or in any manner interfering with, any of the corporation’s property or assets until otherwise ordered, and appointed William W. Olds, of Custer county, receiver of all the property and effects of the corporation, with authority to take possession thereof arid hold the same subject to the orders of the court pending the litigation. Gates and the corporation (defendants in the Custer county action), having demanded a change of place of trial, moved to have the place of trial changed to Minnehaha county. This motion was denied. They separately demurred to the complaint on the following grounds: (1) That the court has no jurisdiction of the person of this defendant; (2) that the court has no jurisdiction of the subject of the action; (3) that the complaint does not state facts sufficient to constitute a cause of action. The demurrers were overruled, as were motions *254to dissolve the temporary injunction and vacate the appointment of Olds as receiver. The defendants having separately answered to the merits, Gates now invokes the authority of this court to arrest all further proceedings in the action pending in Custer county.
It is contended by the defendants that Gates’ appointment is void because the court was without jurisdiction to -appoint a receiver of a corporation or dissolve a corporation at the suit of a stockholder. This contention is not supported by the decision in Dudley v. Hot Springs Co., 11 S. D. 559, 79 N. W. 839. In that case it affirmatively appeared that the corporation was solvent. Here it appears from the showing of both parties that the corporation is insolvent. It was so alleged in the complaint and found by the court in the Minnehaha county action. Authority to appoint a receiver in cases where a corporation is insolvent is expressly conferred by the statute. Comp. Daws, § 5015. The judgment or order appointing Gates does not purport to dissolve the corporation. The court in Minnehaha county has, in effect, done nothing more than has the court in Custer county. If one has exceeded its jurisdiction, so has the other. Being clothed with power to appoint receivers in cases where corporations are insolvent, the Minnehaha court was authorized to hear and determine the question of solvency, and, though it may have erred in its decision, it certainly has jurisdiction of the subject matter.
It is further contended by the defendants that the judgment or order appointing Gates was procured through fraud and collusion ; that the second action was properly brought in Custer county, and could not have been properly brought elsewhere execpt in Dawrence county, because it is an action affecting real estate; that the plaintiff in this proceeding having demurred and answered to the merits in that action, his application for prohibition comes too late. *255we think, these contentions are founded upon a mistaken notion of the real issues involved in this proceeding. The Custer county-action should not be regarded as one to vacate a fraudulent final judgment. The proceeding in Minnehaha county has not culminated in a final judgment. It is still pending, and will be until the property now in the custody of that court has been disposed of, and the receiver discharged, unless the action be sooner dismissed or appealed. The second action should be regarded as an attempt to stay such proceedings. If the Minnehaha receiver were not enjoined, the action in Custer county would be of no substantial benefit to any one. On the subject of preventive relief, our statute has the following provision applicable to the situation of the parties to this controversy: “An injunction cannot be granted to stay a judicial proceeding pending at the commencement of the action in which the injunction is demanded, unless such restraint is necessary to prevent a multiplicity of such proceedings.” Comp. Laws, § 4650. The report of the New York code commissioners contains the same language. Civ. Code N. Y. § 1912. From one of the cases cited in the report we quote the following as showing the reason of the provision: “Under the existing constitution and judiciary system, courts .of record are competent to grant to a plaintiff or defendant any relief, either legal or equitable, to which the facts proved and embraced within the issues made by the pleadings entitle him. There is therefore no occasion now for one court, even if it had the power, to enjoin the proceedings in another court of co-ordinate jurisdiction, and compel one who has brought an action in the latter to litigate it before a different tribunal.” Bennett v. LeRoy, 5 Abb. Prac. 55. The plaintiff in the Custer county action is seeking precisely the same object sought by the plaintiff in the Minnehaha county action, namely to have the property of the *256corporation sold by a receiver, and the proceeds applied in extinguishing its liabilities. Presumptively, this can be done .as properly by the circuit court in one county as in another. Undoubtedly the rights of stockholders and creditors would be enforced and protected in either tribunal with equal fairness and justice., Indeed there appears from the record before us to be no real controversy between these parties except in respect to the personnel of the receivership. Because certain stockholders desire the appointment of a person other than the one appointed in Minnehaha county is certainly not a sufficient reason for the court-in Custer county to enjoin a judicial proceeding pending in another court of co-ordinate jurisdiction. If Gates is not a fit person for the trust, he can be removed by the court which appointed him. If the judgment or order providing for his appointment was collusively secured, it can be vacated by application to the court which rendered it, by any one sufficiently interested to attack it under any circumstances; and, if its language is too broad, it can be modified upon application of any one entitled to such relief. The circuit court in Custer county certainly erred in overruling the demurrers to the complaint and in refusing to vacate its order of injunction and its order appointing the receiver of property shown to be in the custody of the court in Minnehaha county. Ordinarily, an appeal from the orders or judgment of a circuit court under such circumstances would afford a plain, speedy, and adequate remedy, and the writ of prohibition should not issue. Comp. Taws, § 5531. In this case, however, it appears that several mining claims, upon which development work is required before the end of the present year, are involved, and, were the pending conflict of tribunals permitted to continue, these claims might be lost by forfeiture. Therefore we deem this to be a case in which this court should exercise its en*257larged powers under the constitution, and grant immediate relief by issuing a writ of prohibition. Vine v. Jones, 13 S. D. 54, 82 N. W. 82.
As the plaintiff in this proceeding did not waive his right to have the rulings of the circuit court on his demurrer and motion to dissolve the temporary injunction reviewed upon appeal by answering to the merits, he is not precluded from having those rulings corrected by means of the writ of prohibition. Prohibition is the counterpart of mandamus. Comp. Laws, § 5530. The constitutional powers of this court to control and correct the decisions of inferior courts in special cases by means of prerogative and remedial writs have been heretofore considered. The case at bar falls clearly within the reasoning of our former decisions. Vine v. Jones, supra; City of Huron v. Campbell, 3 S. D. 309, 53 N. W. 182.
The circuit court within and for Custer county should be prohibited from proceeding further in the action now pending in that court, its injunction should be dissolved, its order appointing a receiver should be vacated, and the action itself should be dismissed. .