From Anecdotes about Nineteen Century Authors

Conan Doyle, who was married in 1885 and had been practising medicine at Southsea, decided in 1890 to set up as a specialist in London. His first book, A Study in Scarlet (1887), had already introduced Sherlock Holmes to the reading public.

Note from Conan Doyle, from Literary Anecdotes