In Europe in the second half of the 18th century, most men wore their hair long and tied back with a ribbon into what we would now describe as a ponytail, although it was sometimes gathered into a silk bag rather than allowed to hang freely. At that time, it was commonly known as "queue"; the French word for "tail". The queue lost favor amongst civilians, but continued as the mandatory hairstyle for men in all European armies until the early 19th century. The British Army was the first to dispense with it, and by the end of the Napoleonic Wars most armies had changed their regulations to make short hair compulsory.