When was the United Nations Created?

The United Nations was created in the aftermath of World War one to help prevent it from happening again. Of course it did but the world has been slightly better since.