The constitution of Switzerland that was made after a short civil war in 1848 was replaced in 1999. Switzerland did not fight in World War I or World War II. Since 2002, Switzerland is part of the United Nations. It did not join the United Nations for 57 years because of its neutrality.