Collective security aims to deter aggression by having all nations commit to jointly opposing any act of aggression. It emerged as an idea after WWI and was a core principle of the League of Nations and UN. However, collective security has proven difficult to implement in practice due to nations prioritizing their own interests over collective action, and the failure to adequately develop collective security mechanisms within international organizations. While the concept of collective opposition to aggression remains valid, the assumptions required for its effective functioning have generally not been met.