In an effort to force nations to resolve issues without warfare, the United Nations Charter attempted to commit member nations to using warfare only under limited circumstances, such as to defend when attacked. Wars continued to begin and end, but powerful states no longer declared them.