swift was offered and offered the status of secretary and physician to the earl of berkeley , one of the lords justices , but when he passed ireland he felt that the secretaryship had been given to another .
Swift worked for the Earl of Berkeley.