After graduating in 1665, Newton planned to study for a master's degree, but the university was closed due to an outbreak of the plague. He returned to his home village for 18 months, during which time he did most of the thinking that led to his later work on gravitation and optics. This was also when the apple incident is said to have occurred. Newton's first biographer claimed he heard the story from the man himself.