Complex sentence: Edward John Trelawney (1792-1881) was a friend of Shelley and Byron, he entered the Royal Navy as a boy, but deserted and took to adventure.
Split into simpler sentences: Edward John Trelawney (1792--1881) was a friend of Shelley and Byron. Trelawney entered the Royal Navy as a boy, but deserted and took to adventure.