She served as the 33rd White House press secretary during President Donald Trump's tenure from 2020 to 2021.