 The Liberals formed a government after the 1916 state election, and subsequently adopted the name of the federal Nationalist Party formed after the Australian Labor Party split of 1916.With Lee as premier, Hayes served as Minister for Lands and Works (1916–1919), Minister for Works (1919–1923), and Minister for Agriculture (1916–1923).He was also in charge of the Hydro-Electric Department.