swift was offered and accepted the title of secretary and tutor to the earls of richmond , one of the lords justice , but when he reached ireland he found that the secretaryship had been given to another .
Swift worked for the Earl of Berkeley.