William Howard Taft was the 27th President of the United States and later the tenth Chief Justice of the United States. He is the only person to have served in both of these offices. Before becoming President, Taft, a Republican, was appointed to serve on the Superior Court of Cincinnati. Taft was appointed Solicitor General of the United States and a judge on the United States Court of Appeals for the Sixth Circuit. President William McKinley appointed Taft Governor-General of the Philippines. President Theodore Roosevelt appointed Taft Secretary of War in an effort to groom Taft, then his close political ally, into his handpicked presidential successor. Taft assumed a prominent role in problem solving, assuming on some occasions the role of acting Secretary of State, while declining repeated offers from Roosevelt to serve on the Supreme Court.