Uncle Sam first appeared in the War of 1812 and became known as the representative of the United States government to the world. After the U.S. recovered from its own internal struggles, World War I was its first vested participation in the global economy.