Extended deterrence consists in extending the logic of deterrence to a third party, that is, persuading a potential adversary that the costs of attacking a protected country would exceed its benefits through a security guarantee given to the protected party. To a large degree, it stems from any form of military alliance between a stronger country and a weaker one—although alliances per se generally include a mutual defense commitment, which is not a prerequisite to extended deterrence.