Pursuant to proper notice theretofore given, the board of county commissioners of Codington county, at their regular January, 1920, meeting, went through the form of changing the -boundary lines .of the commissioner districts and redistricting the said county, as required by the provisions of section 5864, -Rev. Code 1919. They made no change, however, in the -boundary lines of any of the commissioner districts as they had existed prior to that time. Upon a petition signed by a sufficient number of taxpayers, as provided by section 5886, Rev. Code 1919, the state’s attorney of the county took an appeal to the circuit1 court. The matter, was tried by the circuit court and a judgment entered directing the said board to change the boundary lines of the commissioner districts and to redistrict *523said county in such manner that the city oí Watertown should comprise two commissioner districts, and the remainder of the county into three. From this judgment and an order denying' a new trial the board appeals to this court.
Two questions of practice are presented by appellant that must be disposed of before the merits of the case can be reached.
It'is contended by appellant that the persons who petitioned the state’s attorney to appeal from the order, of the board had no such interest in the subject-matter as entitled them1 to require the state’s attorney to appeal from, the order of the commission. With this contention we do not agree. Section 5886 provides—
“That any states attorney, upon written demand of at least seven taxpayers of the county, shall take an appeal from any action of the board of county commissioners, when such action relates to the interests or affairs of the county at large or any. portion thereof, in the name of the county, when he deems it to the interest of the county so to do.”
That the state’s attorney deemed it to the interest of the county to take the appeal is not denied; and that the matter involved relates to the interest and affairs of the entire county is too plain to admit of any question.
It is next contended that this is a matter upon which the action of the board is final, and that the order appealed from is not subject to review by the circuit court on appeal. What acts of a board of county commissioners can be reviewed by the courts and the manner in which they can be brought on for review has been the subject of much discussion by this and other courts. Hoyt v. Hughes County, 32 S. D. 117, 142 N. W. 471; Austin et al. v. Eddy et al., 41 S. D. 640, 172 N. W. 517; Yankton County v. Board, 46 S. D. 245, 192 N. W. 179. But we believe no difficulty should be experienced in that regard in this case. It seems to be generally conceded that, where the board is acting in a quasi judicial capacity, such acts may be reviewed on appeal. In this case, in order to determine what, if any, changes should be made in the boundary lines of the commissioner districts, it was necessary to, and the board did, receive evidence of the number of votes cast at the last preceding general election in *524each of the various voting" precincts in.the county. To make this determination required the exercise of quasi judicial power (Hoyt v. Hughes County, supra), and the order is properly reviewable on appeal.
Upon the evidence submitted to the board it appeared that at the last preceding general election there were 2,541 votes cast in the entire county of Codington, of which number 1,313 were cast in the city of Watertown and 1,228 in all the other precincts in the county.
For some time prior to January, 1920, the county of Codington had been divided into five commissioner districts, of which number the city of Watertown comprised one district, and the remainder of the county the other four. It was then, and now is, the contention of the board that this division of the count)'' complied with the provisions of section 5864, and no change was made in the boundaries of any of the districts. With this contention we do not agree.
Upon an examination of section 5864 its chief object seems to be to- require that the commissioner districts be compact and regular in form, and should contain about the same number of inhabitants. Under this rule, if an incorporated city should contain one-fifth of the population, it should constitute- one district and have one commissioner. If such city should contain two-fifths of the population, it should comprise two districts and have two commissioners. If it contains three-fifths of the population, it should comprise three districts and be entitled to three commissioners and so -on until a single city might have four of the commissioners, or even possibly the whole five. But to prevent such a situation the section contains the provisión “that no incorporated city shall be divided into' more than two cominissioner districts.” This, however, is the only limitation upon the. above rule, and from this it follows that the city of Watertown, containing more than two-fifths of the population of the county, should be divided into two commissioner districts and have two commissioners.
Lastly, it is contended by appellants that there is no proof that proper notice ’was given of the meeting at which the action involved was taken. There is no merit in this contention. The board assumed that the notice had been given and acted ac*525'cordingly, and they will not now he permitted to stultify themselves by saying that they acted without authority.
The judgment and order appealed from are affirmed.
Note. — Reported in 199 N. W. 594. See, Headnote (1), American Key-Numbered Digest, Counties, Key-No. 196, 15 C. J. Sec. 126 (1925 Anno.); (2) Counties, Key-No. 58, 15 C. J. Sec. 125; (3) Counties, Key-No. 18, 15 C. J. Sec. 42; (4) Counties*, Key-No. 58, 15 C. J. Sec. 128 (1925 Anno.).