Complex sentence: In 1977, "Ajax" underwent a refit at Devonport Dockyard, deploying in 1979 to the Mediterranean.
Split into simpler sentences: In 1977, "Ajax" underwent a refit at Devonport Dockyard. In 1979, "Ajax" deployed to the Mediterranean.