 In 1730 his father went out of office and Townshend lost his position as under-secretary.He was returned unopposed for Cambridge University at the 1734 British general election and was appointed secretary to the Duke of Devonshire, the lord lieutenant of Ireland in 1739.He was returned unopposed in 1741 and 1747.