All commissioned officers and warrant officers shall take the following oath:
"I, __________ do solemnly swear or affirm that I will support and defend the Constitution of the United States and the Constitution of the Commonwealth of Pennsylvania against all enemies, foreign and domestic; that I will bear true faith and allegiance to the same; that I will obey the orders of the President of the United States and of the Governor of the Commonwealth of Pennsylvania; that I make this obligation freely without any mental reservation or purpose of evasion; and that I will well and faithfully discharge the duties of the office of __________ in the National Guard of the Commonwealth of Pennsylvania upon which I am about to enter, so help me God."
51 Pa.C.S. § 2303