Input (grade 3): John Newlands published his Law of Octaves in 1865.
Output (grade 4): John Newlands, who published his Law of Octaves in 1865.