In 1886, Freud resigned his hospital post and entered private practice specializing in "nervous disorders". The same year he married Martha Bernays, the granddaughter of Isaac Bernays, a chief rabbi in Hamburg. They had six children: Mathilde (b. 1887), Jean-Martin (b. 1889), Oliver (b. 1891), Ernst (b. 1892), Sophie (b. 1893), and Anna (b. 1895). From 1891 until they left Vienna in 1938, Freud and his family lived in an apartment at Berggasse 19, near Innere Stadt, a historical district of Vienna.