In Michaelmas 1836, Ruskin matriculated at the University of Oxford, taking up residence at Christ Church in January of the following year. Enrolled as a gentleman-commoner, he enjoyed equal status with his aristocratic peers. His study of classical "Greats" might, his parents hoped, lead him to take Holy Orders and become a bishop, perhaps even the Archbishop of Canterbury. Ruskin was generally uninspired by Oxford and suffered bouts of illness. Perhaps the keenest advantage of his time in residence was found in the few, close friendships he made. His tutor, the Rev Walter Lucas Brown, was always encouraging, as was a young senior tutor, Henry Liddell (later the father of Alice Liddell) and a private tutor, the Rev Osborne Gordon. He became close to the geologist and natural theologian, William Buckland. Among Ruskin's fellow undergraduates, the most important friends were Charles Thomas Newton and Henry Acland.  His biggest success came in 1839 when at the third attempt he won the prestigious Newdigate Prize for poetry (Arthur Hugh Clough came second). He met William Wordsworth, who was receiving an honorary degree, at the ceremony. But Ruskin never achieved independence at Oxford. His mother lodged on High Street and his father joined them at weekends. His health was poor and he was devastated to hear his first love, Adele Domecq, second daughter of his father's business partner, was engaged to a French nobleman. In the midst of exam revision, in April 1840, he coughed blood, raising fears of consumption, and leading to a long break from Oxford.  Before he returned, he answered a challenge set down by Effie Gray, whom he later married. The twelve-year-old Effie had asked him to write a fairy story. During a six-week break at Leamington Spa to undergo Dr. Jephson's (1798-1878) celebrated salt-water cure, Ruskin wrote his only work of fiction, the fairy tale, The King of the Golden River (published in December 1850 (but imprinted 1851) with illustrations by Richard Doyle). A work of Christian sacrificial morality and charity, it is set in the Alpine landscape Ruskin loved and knew so well. It remains the most translated of all his works. At Oxford, he sat for a pass degree in 1842, and was awarded with an uncommon honorary double fourth-class degree in recognition of his achievements.

Answer this question "When did Ruskin write a long essay?" by extracting the answer from the text above.