 This agreement was ostensibly given in exchange for an alliance against King Louis XIV in the War of the Spanish Succession and the provision of 8,000 Prussian troops to Leopold's service.Frederick argued that Prussia had never been part of the Holy Roman Empire, and he ruled over it with full sovereignty.Therefore, he said, there was no legal or political barrier to letting him rule it as a kingdom.