 In 1826, Harrison resigned the secretaryship (and auditorship), to be replaced as Assistant Secretary by his subordinate William Hill.His legacy at the Treasury was to have lain the foundations for the modern Civil Service.In 1823, while still at the Treasury, Harrison had been appointed auditor of the Duchy of Cornwall, and in 1826 became auditor of the Duchy of Lancaster, posts which he held until his death.