swift was presented and accept the title of secretary and chaplain to the earls of berkeley , one of the lady justices , but when he reached ireland he found that the secretaryship had been entrusted to another .
Swift worked for the Earl of Berkeley.