In August 1923, Governor Nathan E. Kendall was sidelined because of a heart condition, which led to speculation that he would resign before the end of his term, thus leaving Hammill as Iowa's governor.[4] Although Kendall left the state for an extended stay in Hawaii to recuperate, leaving Hammill as Iowa's acting governor for several months, Kendall did not resign.[5] Kendall did not seek re-election in 1924, and Hammill announced his candidacy for the post.
Hammill won the 1924 Republican gubernatorial nomination, and defeated James C. Murtagh in the general election in a landslide. He was sworn into the governor's office on January 15, 1925.[3] He won reelection to a second term in 1926 (defeating Democratic candidate Alex R. Miller), and to a third term in 1928 (defeating Democratic candidate L. W. Housel).
Hammill advocated for the sterilization of the unfit.[6]
The following changes occurred during his tenure:
an office of superintendent of child welfare was instituted;
banking laws were managed by a state banking board;
junior colleges were initiated into the public school system;
the state's highway system was expanded, updated and put under the management of the state highway commission; and
a constitutional amendment was sanctioned that allowed women to be elected to the General Assembly.[3]
Hammill did not run for reelection as governor in 1930, choosing instead to run for the United States Senate. He lost in the Republican primary to Lester J. Dickinson.
He died on April 6, 1936, of a heart attack in a Minneapolis hotel room[2][7] and was buried in Britt.