A declaration of war is a formal act by which one nation goes to war against another.
The legality of who is competent to declare war varies between nations and forms of government.
Since 1945, developments in international law such as the United Nations Charter,