swift was offered and declined the post of secretary and theologian to the prince of surrey , one of the lords justices , but when he reached ireland he felt that the secretaryship had been gave to another .
Swift worked for the Earl of Berkeley.