ever the targets of rival power groups , many of these monasteries evolved into formidable defensive structures , designed to protect their powerful artifacts and knowledge from those who might abuse them ; monuments to peace buried behind magical wards , fortified walls and weapons .