Spain 's powerful world empire of the 16th and 17th centuries ultimately yielded command of the seas to England .