March 10, 1891, relator presented to defendant a properly certified list of agents, and demanded that certificates of authority be issued to such agents, and at the same time tendered the legal fees therefor. On March 16, 1891, defendant, by letter to relator, refused to issue such certificates to agents, and declared relator's certificate of authority "null and void," and ordered relator to discontinue business in this state, and returned the fees to relator; and on the same day defendant issued and sent to relator a proclamation assuming to revoke the authority of relator to do business in this state. All the letters mentioned in said affidavit are attached as exhibits, and also the certified list of agents, with demand as stated, and the proclamation issued by defendant. The alternative writ commanded the commissioner to publish such annual statement for the year 1890, to designate the papers in which the same should be published, and issue certificates of authority to local agents, or to show cause, etc. On the return-day the defendant, by the attorney general, appeared before the district court, and moved to quash the alternative writ upon two grounds: First, that the said action is not brought in the name of and by the proper party, the real party in interest; second, that the affidavits and exhibits show upon their face that the plaintiff is not entitled to the relief demanded. The motion to quash was denied, and defend- ant excepted to the ruling. Defendant elected to stand upon the motion to quash, and refused to answer or plead further. Whereupon the trial court entered judgment, adjudging as follows: "That a peremptory writ of mandamus do now issue out of this court directed to the said defendant, A. L. Carey, commanding him that he do forthwith publish, or cause to be published, the annual statement for the year 1890 of the relator the Dakota Hail Association, and to select or designate the newspapers in which the same may be published; and that he issue certificate of authority to the agents of said Dakota Hail Association as requested; and that plaintiff do have and recover of defendant the costs of the proceeding." The errors assigned in this court are that the court erred in denying the motion to quash, and in entering the judgment. It is a stipulated fact that the state, as such, has no interest in the controversy. We