The Pigtail Ordinance was an 1873 law intended to force prisoners in San Francisco, California to have their hair cut within an inch of the scalp. It affected Qing Chinese prisoners in particular, as it meant they would have their queue, a waist-long, braided pigtail, cut off. The proposal passed by a narrow margin through the San Francisco Board of Supervisors in 1873 but was vetoed by the mayor. An identical version of the law was enacted by the California State Legislature in 1876 and was subsequently struck down as unconstitutional in 1879.