Okla. Stat. tit. 21, § 261
Every person who executes any of the functions of a public office without having taken and duly filed the required oath of office, or without having executed and duly filed the required security, is guilty of a misdemeanor; and in addition to the punishment prescribed therefor, he forfeits his right to the office.
R.L. 1910, § 2145.