She is the first openly transgender federal official to win Senate confirmation.