A person who has been appointed or elected district attorney of any circuit cannot be deprived of his office by the attachment of the county in which he resides to a different judicial circuit. In such a case, the district attorney shall continue to discharge the duties of his office as though he resided in the circuit.
(Orig. Code 1863, § 350; Code 1868, § 411; Code 1873, § 376; Code 1882, § 376; Civil Code 1895, § 4391; Civil Code 1910, § 4925; Code 1933, § 24-2907.)