Complex sentence: He served in World War II as Commander of the 1st Battle Squadron in the Mediterranean in 1940 and Flag Officer in charge of Dover in 1942.
Split into simpler sentences: He served in World War II as Commander of the 1st Battle Squadron in the Mediterranean in 1940. He went on to be Flag Officer in charge of Dover in 1942.