William James, who had become a committed mentor to Stein at Radcliffe, recognizing her intellectual potential, and declaring her his "most brilliant woman student", encouraged Stein to enroll in medical school. Although Stein professed no interest in either the theory or practice of medicine, she enrolled at Johns Hopkins School of Medicine in 1897. In her fourth year, Stein failed an important course, lost interest, and left. Ultimately, medical school had bored her, and she had spent many of her evenings not applying herself to her studies, but taking long walks and attending the opera.