Paris barred women from legally wearing pants.

There were some exceptions, like horse riding and bicycling. The law wasn’t annulled until 2013.

Source