swift was present and declined the post of secretary and preacher to the earl of warwick , one of the lords justices , but on he reached ireland he found that the secretaryship had been given to another .
Swift worked for the Earl of Berkeley.