They emerged because of the decline of the Holy Roman Empire. They saw the revolt of the french people during the french revolution and became afraid of what might happen to them. They threatened to attack France if the chaos didn't stop and so they did.