Lloyd J. Austin III was swiftly sworn in as secretary of defense Friday, filling a senior national security position in President Joe Biden’s Cabinet, one briefly threatened by unease among lawmakers to again put a recently retired general in charge of the Pentagon.

Austin, the first Black defense secretary in the nation’s history, faces numerous global and domestic threats at once, including racism in the armed forces, a persistent menace he encountered over his decadeslong Army career, and one that secretaries before him have failed to treat as an overarching threat to their mission.

Many of those arrested after a riot at the Capitol on Jan. 6 have current or previous ties to the military. Just hours after Austin was confirmed, the White House announced that the administration would conduct a "comprehensive threat assessment” of domestic extremism across various national security agencies.