Original: He remained in office in 1761 , when Pitt ( by then created Earl of Chatham ) resigned upon the question of the war with Spain , and subsequently functioned as Leader of the House of Commons in the administration of Lord Bute .
Simplified: He stayed in office in 1761 , when Pitt resigned , and in the administration of Lord Bute acted as Leader of the House of Commons .