Question: The Königsberg fortifications were erected due to the vulnerability during which war of 1563-1721?
Answer: The Polish–Swedish Wars