The Codex Leicester (also briefly known as Codex Hammer) is a collection of largely scientific writings by Leonardo da Vinci. The codex is named after Thomas Coke, later created Earl of Leicester, who purchased it in 1717. Of Leonardo's 30 scientific journals, the Codex may be the most famous of all.