What was the main war conwy castle was involved in?