In the event of a city and county consolidation, any county officer holding office at the time the charter becomes effective shall continue in office for his unexpired term and may exercise such functions or duties for the combined municipal organization as the legislative authority thereof determines, and after expiration of his term the county office shall terminate, except as provided herein.
NMS § 3-16-7