the situation could be potentially threatening to the monarch , as henry had learned during the civil war when some of the barons who had sworn to his grandfather to support his claim to the throne switched their allegiance to his uncle and spawned over a decade of devastating conflict .