lations intended to secure the purity of eleo- tions are of vital importance and must be enforced to the letter; 1 Kan. 273, 279; 9 Kan. 569. Regulations which affect the time and place of the election and the legal qualifications of the voters are usually mat- ters of substance, while those relating to the recording and return of the votes received and the mode and manner of conducting the details of the election are directory. A statute requiring an official act, for public purposes, to be done by a given day, is directory only; 6 Wend. 486. A repre- sentative in the legislature cannot be de- prived of his seat by the failure of mere election officers to make the return required by law to the secretary of state; see opinion of the judges in Maine; Me. Laws, 1880, p. 225, where many election questions are considered fully. Mere irregularity on the part of election officers, or their omission to observe some merely directory provision of the law, will not vitiate the poll; 85 Ky. 597; nor is an election invalid because the election officers de facto were disqualified; 87 Minn. 489; 60 Tex. 55; so also irregu- larities which do not tend to affect results are not allowed to defeat the will of the majority, which must be respected, even when irregularly expressed; 19 Barb. 540; 90 Pa. 493; 11 Kan. 269; 29 Ill. 454; 20 Mo. 107; 11 Mich. 362; 26 Tex. 5; 81 Cal. 178; 34 Cal. 635; Bright. Elect. Cas. 448, 449, 450. By the laws of some states separate boxes are kept at the voting polls for the recep- tion of ballots for different officers, and the question has arisen whether a ballot dropped into the wrong box can be counted. There is some conflict of authority on this point, but it has been held by the supreme court of Michigan that a voter cannot be deprived of his vote by the mistake or fraud of an officer in depositing it in the wrong box, if the intention of a voter can be ascertained with reasonable certainty; and for the same reason a ballot should not be rejected be- cause put in the wrong box by the honest mistake of the voter himself: 11 Mich. 362; Cl. & H. Elect. Cas. 679; 1 Bart. 5; McCrary on Elections, sec. 195. An election officer who wilfully and cor- ruptly refuses to any qualified citizen the right to vote or to register is liable in dam- ages to the person injured; Ashby v. White, Sm. L. Cas.; 2 Ld. Raym. 958; 98 Ill. 60. In England and in most of the American states proof of a malicious or a corrupt pur- pose on the part of the officer is necessary; 11 S. & R. 35; 44 Ν. Η. 383; 5 Blackf. 138; 1 Bush 135; but in Massachusetts it is not necessary to show malice, and this rule has been followed in Ohio and Wisconsin. But even in Massachusetts the officer is not liable if he acted under a mistake into which he was led by the conduct of the plaintiff ; 5 Metc. 162; 2 Mass. 236; 11 Mass. 350; 11 Ohio 372; 20 Wis. 544. See 11 Johns. 114; 18 Ν. Η. 91; 17 Ind. 536 Exemplary damages may be recovered if the refusal was wilful, corrupt, and fraud- ulent; 33 Md. 135. The jurisdiction to hear and determine election cases, though by common law in courts having ordinary common-law juris- diction, is generally regulated by special statutes in most of the states. Where a court can reach a conclusion as to the actual legal vote cast at a precinct, on a contest of an election, it can give effect to it notwithstanding the election officers may have been guilty of misconduct; 15 So. Rep. (La.) 89. Ballots. Voting by ballots is by a ticket or ball and secrecy is an essential part of this manner of voting; 9S. C. 94; 27 N. Y. 45; 4 Vt. 535; 26 Minn. 107; L. R. 10 C. P. 753; therefore a statute which provides for num- bering ballots is repugnant to a constitu- tional provision that elections shall be by ballot; 38 Ind. 89; contra, 86 Tex. 183; 69 Hun 596. Ballots are frequently deposited which do not clearly indicate the voter's in- tention; for instance, by misspelling the name of a candidate, etc. The rule in such cases is thus stated in Cooley, Const. Lim. 611:"We think evidence of such facts as may be called the circumstances surround- ing the election, such as, who were the