North carolina constitution
Article IV
Section 10

The General Assembly shall, from time to time, divide the State into a convenient number of local court districts and shall prescribe where the District Courts shall sit, but a District Court must sit in at least one place in each county. District Judges shall be elected for each district for a term of four years, in a manner prescribed by law. When more than one District Judge is authorized and elected for a district, the Chief Justice of the Supreme Court shall designate one of the judges as Chief District Judge. Every District Judge shall reside in the district for which he is elected. For each county, the senior regular resident Judge of the Superior Court serving the county shall appoint from nominations submitted by the Clerk of the Superior Court of the county, one or more Magistrates who shall be officers of the District Court. The initial term of appointment for a magistrate shall be for two years and subsequent terms shall be for four years. The number of District Judges and Magistrates shall, from time to time, be determined by the General Assembly. Vacancies in the office of District Judge shall be filled for the unexpired term in a manner prescribed by law. Vacancies in the office of Magistrate shall be filled for the unexpired term in the manner provided for original appointment to the office, unless otherwise provided by the General Assembly. (2004-128, s. 16.)