A treaty is a formal, legally binding written agreement between actors in international law. It is usually made by and between sovereign states, but can include international organizations, individuals, business entities, and other legal persons. A treaty may also be known as an international agreement, protocol, covenant, convention, pact, or exchange of letters, among other terms. However, only documents that are legally binding on the parties are considered treaties under international law. Treaties vary on the basis of obligations (the extent to which states are bound to the rules), precision (the extent to which the rules are unambiguous), and delegation (the extent to which third parties have authority to interpret, apply and make rules).
Treaties are among the earliest manifestations of international relations, with the first known example being a border agreement between the Sumerian city-states of Lagash and Umma around 3100 BC. International agreements were used in some form by most major civilizations, growing in both sophistication and number during the early modern era. The early 19th century saw developments in diplomacy, foreign policy, and international law reflected by the widespread use of treaties. The 1969 Vienna Convention on the Law of Treaties codified these practices, setting forth guidelines and rules for creating, amending, interpreting, and terminating treaties and for resolving disputes and alleged breaches.
Treaties are roughly analogous to contracts in that they establish the rights and binding obligations of the parties. They vary significantly in form, substance, and complexity and govern a wide variety of matters, such as security, trade, environment, and human rights. Treaties may be bilateral (between two countries) or multilateral (involving more than two countries). They may also be used to establish international institutions, such as the International Criminal Court and the United Nations, for which they often provide a governing framework.