swift was offered and accepted the post of secretary and chapel to the lord of berkeley , one of the commons barons , but when he reached britain he found that the secretaryship had been offered to others .
Swift worked for the Earl of Berkeley.