Pam Bondi has been confirmed to serve as President Donald Trump’s attorney general.