John Ernst Steinbeck was born on February 27, 1902, in Salinas, California, the only son of John Ernst Steinbeck Sr. and Olive Hamilton. His father was a bookkeeper and accountant who served for many years as the treasurer of Monterey County, California. Steinbeck received his love of literature from his mother, who was interested in the arts. His favorite book, and a main influence on his writing, was Sir Thomas Malory's (c. 1408–1471) Le Morte d'Arthur, a collection of the legends of King Arthur. Steinbeck decided while in high school that he wanted to be a writer. He also enjoyed playing sports and worked during the summer on various ranches.