Isaac Newton attended several schools during his early life. From age 12 to age 16, he resided with William Clarke, apothecary, in Grantham, where he acquired his interest in chemistry. While living with the Clarke family, Newton was educated at the free grammar school in Grantham. Newton also attended The Kings School in Grantham from the age of about twelve until he was seventeen, which taught Latin and Ancient Greek and probably imparted a significant foundation of mathematics. He was removed from school and returned to Woolsthorpe-by-Colsterworth by October 1659. His mother, widowed for the second time, attempted to make him a farmer, an occupation he hated. Henry Stokes, master at The Kings School, persuaded his mother to send him back to school. Newton also attended Trinity College Cambridge, where he graduated with a bachelors degree in 1665 and later obtained his masters degree.