Contest of election for mayor of the town.of Guntersville, Marshall County, Alabama, held on the first Monday in January, 1899, under an act to establish a new charter for said town, approved February 12th, 1885. — Acts, 1884-85, p. 373.
Said act provides among other things,. “That any election held under this act may be contested as .is, or may be approved by the laws of the State for contesting the election of probate judge; and all the provisions of such laws in relation to contesting the election of a probate judge shall, so far as the same are or may be applicable, apply to contests of any election held under this act.”
Section 1696 of the Code provides: “If the contest be of an election to the office of judge of the probate court, *649the party contesting may file in the office of the clerk of the circuit court of the county in which, the election was held, a'statement in writing verified by affidavit, of the grounds of the contest as provided in this article, and must give good and sufficient security for the costs of the contest to be approved by the clerk.”
At the time the statement for a contest of said office was filed by the contestant in the circuit court of Marshall County, which appears to have been done on the 10th of January, 1899, he filed with the clerk®security for costs of said election which was approved by that officer. When the case came on to be heard in the circuit court, the defendant moved,- among other grounds therefor, to dismiss the proceeding for contest, for that the security for costs Avas insufficient, the sureties not being solvent. This objection Avas sustained and the contestant, upon his request, was allowed to give an additional bond. Thereupon, he filed in the court another bond for costs, in the sum of $500, Avhich, upon the objection of contestee, that it contained a limitation as to. penalty, Avas stricken from the file. The contestant thereupon moved the court to file still another security for costs of the contest Avhich he Avas alloAved to do, to which defendant objected because, the security could not be given at that stage of the proceedings, and because the name of W. A. Mitchell, mentioned in the body of the security, as one of the sureties, Avas not signed to the security. The latter ground.is Avithout merit. The security without the name of Mitchell, was ‘deemed -sufficient and Avas approved by the clerk. The fact that he did not sign the paper, though his name was mentioned in it as a surety, did not vitiate it as an obligation for costs. The other sureties, so far as appears, signed it without reference to him. Nor Avas there any merit in the other objections as to allowing the 'Contestant to file neAV obligations- with security for costs. The contestant having filed the undertakings for the costs which were deemed and held to be insufficient, it was proper for the court to allow him to execute a new, different and propersecurity.—Wilson v. Duncan, 114 Ala. 659, 670.
The defendant, on the 16th of January, 1899, filed his answer in which he denied the grounds of contest, which *650answer, after the ruling of the court on the question of costs, the contestee withdrew, and thereafter, he filed three special pleas, marked A., B. and C., which were in substance the same — that since the filing of said contest, and his answer thereto, he had resigned his office of mayor and his resignation having been duly accepted, and Ins successor appointed, he was not then — nor had he been, since the 3rd of that month — mayor of saifi town of Gfuntersville, and had not since the last named date been in possession of said office; that he could not deliver any of the books, records or papers pertaining to said office to any one, having himself no control of the same, and he in no way prevented or hindered the contestant from obtaining his said office.
The contestant demurred to said pleas on the grounds, in substance, that the fact that defendant had resigned the office of mayor, and his resignation had been accepted, and another person had been appointed to that office in his place, and that he could not deliver the office to contestant, Avas no ansAver or defense to the proceeding. The court sustained the demurrer to these pleas, and the defendant by his attorneys witlidreAv from the case and declined to plead further but made default, except for the purpose, as stated, of making objection to judgment being_rendered against him: It was thereupon ordered, adjudged and decreed by the court, that the contestee had not been elected to said office at said election. The contestant then moved the court that a judgment be entered declaring that he had been elected to said office, but the court overruled the motion, and proceeded, to hear evidence as to whether or not contestant had been elected to said office, and Avlien the court was proceeding to hear evidence on that question, the contestee reappeared in the court by his counsel and objected to evidence being offered as to the election, as there Avas already a judgment of ouster-against him, and. the court sustained this motion, and entered judgment declaring that contestant -had been duly elected to said office of mayor and had the right thereto.
When the contestee withdreAV his answer to the com*651plaint, lie rested his entire case on his special pleas of resignation. When the court sustained demurrers to these pleas, as we have seen, the “contestee’s attorneys withdrew from the case and declined to answer further but made default except for the . purpose of making objection to judgment against him,” which was rendered, and he excepted. There can be no dispute'as to the right of the defendant to resign his office when he did, even if he had been fairly elected.—The State v. Fitts, 49 Ala. 402; McCreary on Elections, § 352; Payne on Elections, § 238. It is equally clear, that he could-not by resigning, defeat a judgment of ouster against him on the contest instituted by contestant. Such a defense as his resignation was no answer to the complaint, and the demurrers to the special pleas setting up that defense were properly sustained. Having withdrawn his answer denying the allegations of the complaint, the demurrer to his special pleas of resignation having been sustained, and the defendant declining to plead further, there was nothing left for-the court to do but to' enter judgment that he was not entitled to said office. The court went further, however, and decided that the contestant was, at said election, duly and legally elected to the office of mayor of said town. There had been a tie vote at said election between contestant and contestee, each having received 65 votes, whereupon, the sheriff, as he was authorized by the charter of the town to do, gave the casting vote for contestee and declared him elected. Whether the court should have so adjudged and decreed or not, we may not stop to inquire. The defendant is not entitled on this appeal to contest that matter. He objected to the inquiry of the court on that question. By his own conduct the only question he reserved and is entitled to have passed on here — besides the one as to the security for costs — is as to the correctness of the ruling of the court on the demurrers to his special pleas setting up his resignation. After his refusal to pleád, and being in default for want of a plea, his only ground of complaint, on error assigned, is the action of the court in rendering judgment against him for the want of a plea. He waived all other defenses. What a party consents to waive in the court *652below he cannot assign as an error in this court.—Hill v. Nichols, 50 Ala. 336. He has no right to question the correctness of the further action of the court in declaring the contestant elected. Whether that ruling was correct or not, is a matter in which he has no concern on this appeal.'
Affirmed.