Career
During his time in office Hartley served as a cabinet minister in the government of Premier Ernest Manning from 1955 to 1962. Hartley ran for a seat to the Alberta Legislature in the 1935 Alberta general election. He ran as a Social Cr candidate in the electoral district of Macleod.
The 1940 Alberta general election would see Hartley nearly be defeated by Independent candidate Great Britain Walker in a hotly contested two way race.
Hartley hung on to his seat by just 41 votes to return to office. Hartley ran for his third term in office in the 1944 Alberta general election.
He was returned to office as he held his vote from 1940. Hartley ran for his fourth term in office in the 1948 Alberta general election.
The 1952 Alberta general election would see Hartley return to office with his largest popular vote to date.
Hartley ran for his sixth term in office in the 1955 Alberta general election. He ran in a two way race against Liberal candidate Charles Bennett who provided the strongest challenge to Hartley"s seat since 1940. Hartley held his district with a reduced popular vote to return to office.
Premier Ernest Manning promoted Hartley to the Executive Council of Alberta after the election.
He became Minister of Public Works on August 2, 1955. Hartley ran in his first election as a cabinet minister in the 1959 Alberta general election.
Manning would shuffle his cabinet in 1962 dropping Hartley from his portfolio. He would run for re-election as a regular member less than a year later in the 1963 Alberta general election.
Hartley would retire from office at dissolution of the assembly in 1967.