How were women treated during the 1800s?