Complex sentence: It was the home of the Royal Navy's Maritime Warfare School from the Second World War until it moved to HMS "Collingwood" in 2004.
Split into simpler sentences: It was the home of the Royal Navy's Maritime Warfare School until 2004. The Maritime Warfare School (previously the School of Maritime Operations) was moved to HMS "Collingwood" in 2004.