What is the fine-grained topic of the following text: Throughout its long and abounding history the castle changed hands and was ruled by various masters and noble families, however, it was never surrendered to foreign invaders and even the Turkish forces had to give in and leave the fortifications during the invasion in 16th century. Only return the topic.
The historical resilience and ownership of a castle.