Born into the wealthy Pinchot family, Gifford Pinchot embarked on a career in forestry after graduating from Yale University in 1889. President William McKinley appointed Pinchot as the head of the Division of Forestry in 1898, and Pinchot became the first chief of the U.S. Forest Service after it was established in 1905. Pinchot enjoyed a close relationship with President Theodore Roosevelt, who shared Pinchot's views regarding the importance of conservation. After William Howard Taft succeeded Roosevelt as president, Pinchot was at the center of the Pinchot–Ballinger controversy, a dispute with Secretary of the Interior Richard A. Ballinger that led to Pinchot's dismissal. The controversy contributed to the split of the Republican Party and the formation of the Progressive Party prior to the 1912 presidential election. Pinchot supported Roosevelt's Progressive candidacy, but Roosevelt was defeated by Democrat Woodrow Wilson.