Summary:
You win a Diplomatic Victory by winning an election for the position of World Leader once the World Congress becomes the United Nations. If going this route, remember that City-States will provide Delegates for whoever they are allied with. See the section on Victory for more details.