sentences:  During the First World War, Ayers served as chairman of the Fergus County Exemption Board.He was the Justice of the State supreme court from January 1922 until his resignation on November 22, 1922, when he resumed ranching and the private practice of law in Lewistown.In 1924, he ran for Governor of Montana, but lost in the Democratic primary to John E. Erickson, who would later go on to win the general election.