A former State Department staffer with a top-secret security clearance betrayed his oath of office when he joined the Capitol mob that attempted to subvert the electoral process on Jan. 6, a federal magistrate judge said Tuesday.

Quoting that oath, which requires federal workers and appointees to “defend the Constitution of the United States against all enemies, foreign and domestic,” Judge Zia M. Faruqui said that on Jan. 6, domestic enemies were striking “directly at the heart of our democracy” and Federico Klein “switched sides.”