Visitors King's Hall purchased cod, stockfish, salmon, herring, lob, sturgeon, cat fish, and salted eels, together with raisins, prunes, almonds, pepper, dates, cloves, mace, sugar, saffron, and bay salt at the fair as well. During the seventeenth and eighteenth century, the fair's national status was underlined by writers such as Samuel Pepys and Edward Ward who wrote of the experience. John Bunyan used the event as the inspiration for the Vanity Fair in Pilgrim's Progress, which in turn was used by William Makepeace Thackeray for his most celebrated novel. During his time at the university in 1665, Isaac Newton visited the fair and is known to have bought a copy of Euclid's Elements which he used to teach himself mathematics. He is also believed to have acquired optical instruments including a pair of prisms, which he used to demonstrate that white light could be split into the colours of the spectrum. Daniel Defoe visited the fair and wrote at length of it in his Tour through the whole island of Great Britain, stating: "this fair, which is not only the greatest in the whole nation, but in the world; nor, if I may believe those who have seen them all, is the fair at Leipzig in Saxony, the mart at Frankfort-on-the-Main, or the fairs at Nuremberg, or Augsburg, any way to compare to this fair at Stourbridge." He described the huge variety of merchandise, with stalls including "goldsmiths, toyshops, brasiers, turners, milliners, haberdashers, hatters, mercers, drapers, pewterers, china-warehouses, and in a word all trades that can be named in London." Collegiate Medieval Cambridge was brought into prosperity by the Stourbridge fair. The institutions that benefitted as a result of fair supported its continued existence. The Cambridge colleges got fish and spice from the fair, even King's college often ventured to the fair to gain stock on the same items. The fair was essential to the start of college life in Cambridge as its timing was the same as the start of a new school term. Heaps of coal would be bought from the fair for the schools. The Cambridge colleges came to rely of the influence and intake of goods that the fair brought in. London merchants were sent to the fair on behalf on wealthier colleges looking to secure goods for the upcoming year. These merchants were solely interested in securing contracts and buying high quantities of wholesale goods.