The legality of the U.S. invasion of Iraq has been debated, as the United Nations Security Council did not authorize the invasion. However, the United States argued that it was justified under the doctrine of preemption, which allows for military action to prevent an imminent threat.