delivered the opinion of the Court:
. By an Act of the Legislature, passed in 1863, Sacramento County was divided into five districts, in each of which a Supervisor was to be elected, to hold his office for two years and until his successor should be elected and qualified. (Stats. 1863, jd. 503.) The elections were, therefore, to be biennial, and all the five offices were to become vacant at the same time. Under the provisions of this Act, five Supervisors were elected at the general election in 1863, whose terms. expired on the first Monday of October, 1865. At the general election of that year, their successors were elected, whose terms expired on the first Monday of October, 1867; at the general election in which year, Bailey, Meredith and Beckman were elected Supervisors for the third, fourth and fifth districts, respectively, and entered on their terms of office on the first Monday of October of that year. If the law had not been changed, their terms would have expired on the first Monday of October, 1869, and their successors would have been regularly elected at the general election of that year. But, in. March, 1868, the Legislature deemed it proper to provide that the term of office of the Supervisors should be four years, instead of two; and that all the Supervisors should not be elected at the same time. Hence, by an Act passed on the 28th of March, 1868, it was provided that “the Supervisors for the first and second districts should be elected at the general election to be held in 1869, and should hold their offices for four years, and until their successors were elected and qualified; and that the Supervisors for the third, fourth and fifth districts should be elected at the general election to be held in 1871, and should also hold their, offices for four years. It was further provided, that the present Supervisors from *9the first and second districts shall hold office until the first Monday in October, 1869, and until their successors are duly elected and qualified; and the present Supervisors from the third, fourth and fifth districts shall hold office until the first Monday in October, 1871, and until their successors are duly elected and qualified.” (Stats. 1867-8, p. 478.) At the general election in 1869, Supervisors were duly elected under this Act for the first and second districts; and under the belief that the terms of Bailey, Meredith and Beckman would also expire" on the first Monday of October, 1869, some of the voters cast ballots for other persons to fill these offices for the third, fourth and fifth districts, for a term to commence on the said first Monday in October; but the Board of Supervisors refuses to canvass the votes cast for Supervisors for said third, fourth and fifth districts, on the ground that there was no vacancy in these offices; and that, under the Act of March 28, 1868, Bailey, Meredith and Beckman are entitled to remain in office until October, 1871, and consequently that no election for their successors could be lawfully held in 1869, nor until the general election in 1871.
The present action is an application to the Court for a writ of mandate to compel the Board of Supervisors to canvass the votes so cast, and to declare the result.
The argument in support of the application for the writ is based upon two propositions, to wit: First-—That so much of the Act of March 28, 1868, as provides that the present incumbents shall continue in office until October, 1871, is in violation of Section 5, Article XI, of the Constitution, which declares that “the Legislature shall have power to provide for the election .of a Board of Supervisors in each county.” It is claimed that the Legislature ignored this provision, in attempting, by a legislative appointment, to continue these Supervisors in office after the term for which they were elected had expired; and that the Legislature has no more power to extend the term of the incumbent of an office, which, under the Constitution, is elective, than it would have to appoint him originally;, and that this portion of the *10Act of March 28, 1868, is therefore' void. Second—This provision being stricken out as void, there is nothing in the Act which, by implication or otherwise, can be held to repeal that portion of the Act of 1863 Avhich authorized an election to be held in 1869 for Supervisors for the third, fourth and fifth districts, as successors to Bailey, Meredith and Beck-man, whose terms expired in October, 1869, unless the Act of 1868 had the effect to continue them in office until October, 1871 ; and that it could not have that, effect, for the-reason that it is repugnant to the Constitution and void.
We shall first consider the proposition last stated. If it be assumed that the Legislature had' no power to continue the incumbents in office beyond the, term' for Avhich - they were originally elected, does it therefore íoIIoav, as a necessary or proper legal conclusion, that so much of the Act of 1863 as authorized an election to be held in 1869 for Supervisors in the third, fourth and fifth districts, remained in force ? A statute may be repealed by express words, or by necessary implication. The latter takes place whenever, by subsequent legislation, it becomes apparent that the Legislature did not intend the former Act to remain in force. If a later statute be wholly repugnant to an older one, so that, upon any reasonable construction, they cannot stand together, the first is repealed by implication, though .there are-no repealing words. The reason is, that the last expression of the legislative will must prevail, and must supersede all prior legislation which is entirely inconsistent Avith it.. Applying this rule to the case we are considering, nothing can be plainer than that the Legislature intended to declare by the Act of March 28, 1868, that no election for Supervisors for the third, fourth and fifth districts should be held in the year 1869. If the Act had made this declaration in express terms, and had further provided that the. next election for those districts should be held at the general election in 1871,. and had omitted the provision continuing the incumbents in office, the intention would not have been more apparent ■ than it is that there should be no election for. those districts in 1869, and that the next election should occur in 1871.. Can anyone doubt the power of the Legislature thus to *11regulate the time at which the election should be held ? It was only by virtue of the Act of 1863 that an election could have been held in 1869. Was it not competent for the Legislature to change the time? Their power to do so is unquestionable, and the only remaining question is, Did they declare this intention by the Act of 1868 ? It is perfectly plain that such was the evident purpose of the Act. If, in addition to the exercise of this undoubted power, they have coupled with it an attempt to perform an unconstitutional act, by continuing the incumbents in office until October, 1871, the only result would be that the attempt Avould be abortive, and that portion of the Act would be void. But this result would in no degree impair the efficiency of the Act as a valid enactment, changing the time of the election from 1869 to 1871. We are, therefore, clearly of the opinion that the Act of 1868 repealed so much of the Act of 1863 as authorized an election to be held for these three districts in 1869, and that the ballots cast at that election for Supervisors for said districts were void. This view of the case renders it unnecessary, perhaps, for-us to express any opinion on the constitutional question. But, inasmuch as it is one of considerable practical importance, we deem it best to dispose of it now.
Wben the Constitution declares an office to be elective, it cannot, of course, be filled in any other mode than that provided by the instrument itself. We have repeatedly recognized this proposition as applied to Assessors and Collectors of Taxes. (People v. Hastings, 29 Cal. 449; People v. Kelsey, 34 Id. 470.)
But where an office has been filled in the method prescribed by the Constitution, no reason is perceived why the Legislature may not extend the term of the incumbent; provided the whole term, when extended, does ntit exceed the time limited by the Constitution—Section 7, Article XI, of Avhich, provides that “when the duration of any office is not provided for by this Constitution, it may be declared by law, and if not so declared, such office shall be held during the pleasure of the authority making the appointment; nor shall *12the duration of any office, not fixed by this Constitution, ever exceed four years.” An officer duly elected by the people, and holding his office for a term extended by the Legislature within the constitutional limitation of time, cannot, in any just sense, be held to hold, not as an elected officer, but as an appointee of the Legislature. It cannot be denied that he was elected to the office, and that he would not be the incumbent of it, except for his election. The j>eople have exercised their constitutional right in selecting him for the office, and instead of thwarting the popular will by appointing some one else, the Legislature has rather ratified it by extending his term. The duration of the terms of office, except as limited by the Constitution, is a matter of purely legislative discretion. It may be diminished or extended at the will of the Legislature, within those limits, and his power in no degree trenches on the constitutional right of the people to select the person who is to fill an elective office. The people select the incumbent of the office, but the Legislature has the power to define the duration of the term, provided it is not fixed by the Constitution, and is within the constitutional limitation of four years. If we had any doubt on this point, we should be very reluctant to arrive at a different conclusion, in view of the serious complications which might arise, growing out of past legislation on this subject. The Legislature has so often exercised, unquestioned, the power to prolong the terms of the incumbents of elective officers, that it might result in the most, embarrassing perplexities, if all these acts, at this late day, were pronounced to be void. They have repeatedly extended terms of Supervisors, Tax Collectors, Assessors and a county officers. (Stats. 1858, p. 261; 1862, p. 129; 1863, j 171; 1859, p. 236; 1861, p. 260; 1859, p. 337; 1863, pp. 406, 387, 24, 506; 1857, p. 281; 1863-4, p. 507; 1867-8,, pp. 121, 457.) '
Nothing but an imperious sense of duty, founded on the' plainest principles of constitutional construction, would justify us in holding all these acts to be void after this lapse of time. If we had even a grave doubt on the subject/ consid*13orations of public policy would impel us to uphold these enactments, if practicable,
The application for the writ is, therefore, denied.