https://www.law.cornell.edu/uscode/text lets talk US code.
Oath of office
https://www.law.cornell.edu/uscode/text/5/3331
https://en.wikipedia.org/wiki/Oath_of_office#United_States
Some oaths of office are statements of allegiance and loyalty to a constitution or other legal text or to a person or office-holder (e.g., an oath to support the constitution of the state, or of loyalty to the king) (see Oath of allegiance). Under the laws of a state, it may be considered treason or a high crime to betray a sworn oath of office.///Source Wikipedia.
https://history.house.gov/Institution/Origins-Development/Oath-of-Office/
https://www.law.cornell.edu/uscode/text/18/371 Conspiracy to defraud.
https://www.law.cornell.edu/uscode/text/18/part-I/chapter-29 Elections and political activities
https://www.law.cornell.edu/uscode/text/18/part-I/chapter-41 extortion and threats
https://www.law.cornell.edu/uscode/text/18/part-I/chapter-47 fruad and false statements
https://www.law.cornell.edu/uscode/text/18/part-I/chapter-45 foreign relations
https://www.law.cornell.edu/uscode/text/18/part-I/chapter-73 obstruction of justice
https://www.law.cornell.edu/uscode/text/18/part-I/chapter-25 counterfeiting and forgery
https://www.law.cornell.edu/uscode/text/18/521 criminal street gangs think BLM/Antifa
https://www.law.cornell.edu/uscode/text/18/part-I/chapter-77 Human trafficking
https://www.law.cornell.edu/uscode/text/18/part-I/chapter-109A sexual abuse
https://www.law.cornell.edu/uscode/text/18/part-I/chapter-115 treason and sedition
https://www.law.cornell.edu/uscode/text/18/part-I/chapter-113B terrorism
https://www.law.cornell.edu/uscode/text/5/2302 unlawful orders
https://federalnewsnetwork.com/commentary/2019/10/the-oath-of-office-and-what-it-means/ Article on oath of office.
https://www.paysonroundup.com/opinion/letters_to_editor/violating-oath-of-office/article_bf72b49d-0f61-5911-b436-73fc9385b039.html article on oath violations no fkn code cited.
https://www.georgiacriminallawyer.com/violation-of-oath-by-a-public-officer
https://law.justia.com/codes/pennsylvania/2016/title-11/chapter-109/section-10905
https://constitution.congress.gov/browse/essay/artVI-C3-1-1/ALDE_00000387/ essay on oaths
https://www.sheriffs.org/sites/default/files/uploads/10%20Common%20Elements%20of%20Oath%20of%20Office-RW-2.pdfSo
https://johnbwellsnews.com/violating-oath-of-office-is-a-federal-crime/
https://www.law.cornell.edu/uscode/text/5/part-III/subpart-F/chapter-73
there is the sauce , a federal employee commits 3 felonies when they violate their oath and retain their seat,
1 the act of violation
2 impersonation of a federal employee
3 fraud