Uncle Sam is a nickname for the collective citizens of the U.S. It arose in the neighborhood of Troy, New York, in about 1812, partly from the frequent appearance of the initials US on government supplies to the army and others.
A few believe that there was a local resident who had a connection with army supplies and he was actually known as Uncle Sam.