Where was the Royal Navy's headquarters