The presidency of Warren G. Harding began on March 4, 1921, when Warren G. Harding was inaugurated as President of the United States, and ended when he died on August 2, 1923, a span of 881 days. Harding, the 29th United States president, presided over the country in the aftermath of World War I. A Republican from Ohio, Harding held office during a period in American political history from the mid-1890s to 1932 that was generally dominated by his party. Harding appointed four Supreme Court justices, all of whom became conservative members of the Taft Court. Shortly after Harding's death, several major scandals emerged, including the Teapot Dome scandal. Harding died as one of the most popular presidents in history, but the subsequent exposure of the scandals eroded his popular regard, as did revelations of several extramarital affairs. In historical rankings of the U.S. presidents, Harding is often rated among the worst.