Flags have existed for over 3,000 years. The earliest flags were wooden or metal poles with a carving. About 2,000 years ago pieces of fabric were added to some poles for decoration. Over the next 500 years the free-flying part of the flag became more important.