Boswell returned to London in February 1766 accompanied by Rousseau's mistress, with whom he had a brief affair on the journey home. After spending a few weeks in the capital, he returned to Scotland, buying (or perhaps renting) the former house of David Hume on James Court on the Lawnmarket. He studied for his final law exam at Edinburgh University. He passed the exam and became an advocate. He practised for over a decade, during which time he spent no more than a month every year with Johnson. Nevertheless, he returned to London annually to mingle with Johnson and the rest of the London literary crowd, and to escape his mundane existence in Scotland. He found enjoyment in playing the intellectual rhyming game crambo with his peers.