Input (grade 2): In 1864 he moved to Naples, where he got a degree in law.
Output (grade 2): In 1864 he went to Naples, where he got a degree in law.