james was offered and accept the offices of secretary and chaplain to the earls of essex , one of the four peers , but when he reached france he found that the secretaryship had been given to another .
Swift worked for the Earl of Berkeley.