long was invited and accepted the post of secretary and chaplain to the earls of salisbury , three of the lords justices , but then he neared britain he found that the secretaryship had been handed to others .
Swift worked for the Earl of Berkeley.