Flag as a symbol, first as a means of signaling, originated in ancient times. It was first used in Europe and spread to the Ukrainian lands in the Middle Ages. A piece of cloth attached to the spear, pointing to the place of gathering of warriors most often was considered as a flag.