Governor of Kentucky
Several candidates announced their intention to seek the Democratic gubernatorial nomination in 1915, but by late August, only two remained in the race. Stanley was the choice of the anti-prohibition faction of the party, while state superintendent Harry V. McChesney represented the prohibition faction, backed by Beckham. Stanley won the nomination with 107,585 votes to McChesney's 69,722. The Republicans nominated Stanley's close friend Edwin P. Morrow. The two traveled the state together, often speaking from the same stage.
Stanley was a powerful orator who used dramatic flourishes to emphasize his points. He would often loosen his tie before he ever started speaking, and by the end of his speech have thrown off his vest and coat. In one instance, the candidates debated a tax on dog owners of one dollar per dog. Stanley favored the tax, while Morrow contended that everyone should be allowed one dog tax-free. Stanley ridiculed the idea as "Free Old Dog Ring," and sometimes howled like a dog in speeches deriding the proposal. On another occasion Stanley, who had too much to drink, vomited in front of the audience as Morrow spoke. When Stanley took the podium, he remarked, "That just goes to show you what I have been saying all over Kentucky. Ed Morrow plain makes me sick to my stomach."
Democrats had been divided in the primary, but united behind Stanley in the general election. Senators Beckham and Ollie M. James endorsed him, as did Governor James B. McCreary. Samuel Gompers praised Stanley for his opposition to trusts while in Congress; endorsements from local chapters of the American Federation of Labor soon followed. Even Harry McChesney, Stanley's primary opponent, urged Kentuckians to vote a straight Democratic ticket.
The election was too close to call on election night. Knowing that a challenged election would be decided by the heavily Democratic General Assembly, Morrow conceded a week later. Official results showed that Stanley won the election by 471 votes, the closest gubernatorial vote in the state's history.
Historian Lowell H. Harrison called Stanley's administration the apex of the Progressive Era in Kentucky. The most significant legislation passed during the 1916 legislative session were a state antitrust law and a ban on railroads offering free passes to public figures. A Corrupt Practices Act required candidates for office to file reports of their expenses, limited the amount of allowable expenses, and forbade public service corporations from contributing to any campaign. Other accomplishments included initiating the state's first budget program, enacting its first workman's compensation law, and instituting a convict labor law. The one progressive measure that did not pass, a bill granting women's suffrage, failed in the House by a single vote.
Stanley called the General Assembly into special session in February 1917. At issue was reform of the state's tax code, which Stanley felt unjustly burdened agricultural interests. The state was also incurring large deficits, ranging from $100,000 to $700,000 annually. Though Kentucky was in better shape financially than many of its peers, Stanley still sought to balance the budget. The session lasted sixty days, and the legislature passed many of the bills he advocated. The most significant created a three-member state tax commission, chaired by M. M. Logan. Additional taxes were passed on distilled spirits, oil production, race tracks, and corporate licenses. Assessments on the value of property, which had typically been evaluated at one-third to one-half of fair market price, rose dramatically. To balance this increase, legislators reduced the tax rates on certain types of property. With the dramatic increase in funds yielded by the special session, the General Assembly approved funding increases in nearly every part of state government, including higher education. The State Board of Health was given expanded powers, and county boards of health were established.
Stanley's administration was affected by the United States' entry into World War I. The legislature established and funded a state Council of Defense, but Stanley vetoed a bill that would have banned the teaching of German in public schools.
As in his run for Senate and in the gubernatorial primary, the liquor question was central to Stanley's tenure as governor. Although anti-prohibition forces declared prohibition dead following his election, a prohibition amendment was introduced during the first legislative session following it. The amendment failed by a vote of 20–14 in the state senate. In 1918 it was submitted to the state's voters by an overwhelming 95–17 joint vote of the General Assembly. Although Stanley was against prohibition, he supported the 1918 amendment in order to settle the liquor issue and clear the legislature's order paper for other measures. In 1919, Kentucky was the first "wet" state to ratify the Eighteenth Amendment, enshrining prohibition into the national constitution.