Countries voted to adopt the Treaty on the Prohibition of Nuclear Weapons at the United Nations in New York on July 7.