functionary
n.
"one who has a certain function, one who holds an office," 1791, from or patterned on French fonctionnaire, a word of the Revolution; from fonction (see function, n.). As an adjective in English from 1822, "functional." Related: Functionarism.