The Contagious Diseases Act in the mid-late 1860s allowed police to detain and inspect any woman they thought might have an STD, leading to many innocent women being inspected.