In the early 1900s, many American cities created laws that required all women in bathing suits to wear stockings.

Fact source