William Howard Taft (September 15, 1857 – March 8, 1930) was the 27th president of the United States (1909–1913) and the tenth chief justice of the United States (1921–1930), the only person to have held both offices. Taft was elected president in 1908, the chosen successor of Theodore Roosevelt, but was defeated for re-election by Woodrow Wilson in 1912 after Roosevelt split the Republican vote by running as a third-party candidate. In 1921, President Warren G. Harding appointed Taft to be chief justice, a position in which he served until a month before his death. In poor health, he resigned in February 1930, and died the following month. By Taft's later account, after some conversation, Harding casually asked if Taft would accept appointment to the Supreme Court; if Taft would, Harding would appoint him. Taft had a condition for Harding—having served as president, and having appointed two of the present associate justices and opposed Brandeis, he could accept only the chief justice position.