Hegseth would have been the first U.S. defense secretary to be impeached.