The district attorney in the case of counties and the treasurer and controller, if provided for and if elected, shall be elected by the electors at a regular municipal election and shall serve for a term of four years beginning the first Monday of January next following the election.