Complex sentence: The hymn tune "Hereford" was written by Samuel Sebastian Wesley (1810-1876) when he was the organist at Hereford Cathedral (1832-1835).
Split into simpler sentences: The hymn tune "Hereford" was written by Samuel Sebastian Wesley (1810-1876). He was an organist at Hereford Cathedral (1832-1835).