The Contagious Diseases Act was a series of laws enacted in the late 19th century in Britain, aimed at controlling sexually transmitted diseases among military personnel. These laws allowed for the examination and detention of women suspected of being sex workers in designated port towns, reflecting the broader societal attitudes towards women and morality during this period. The acts sparked significant debate and resistance, leading to a burgeoning social reform movement focused on women's rights and public health.