After the 1920 election, newly-elected Republican President Warren G. Harding appointed Hoover as Secretary of Commerce; Hoover continued to serve under President Calvin Coolidge after Harding died in 1923. Though he did not attend high school, Hoover learned bookkeeping, typing, and mathematics at a night school.