 His duties there were both clerical and administrative, serving to reduce the routine work of the second secretary.The increasing business of the Treasury at the time necessitated the growth of a specialised bureaucracy, relatively independent of the constraints of patronage, and Harrison would oversee its growth during the 21 years he spent in the post.Upon the death of Pitt in 1806 and the formation of the Ministry of All the Talents, Harrison stood in some danger of losing his post at the Treasury.