swift was given and offered the post of treasurer and chaplain to the earl of berkeley , one of the lords advocates , but when he reached wales he realised that the secretaryship had been given to others .
Swift worked for the Earl of Berkeley.