A tradition of public baths dates back to the 6th century BCE, and there are many ancient records of homosexual activity in Greece. In the West, gay men have been using bathhouses for sex since at least the late 19th and early 20th centuries, a time when homosexual acts were illegal in most Western countries and men who were caught engaging in homosexual acts were often arrested and publicly humiliated. Men began frequenting cruising areas such as bathhouses, public parks, alleys, train and bus stations, adult theaters, public lavatories ( cottages or tearooms), and gym changing rooms where they could meet other men for sex. Some bathhouse owners tried to prevent sex among patrons while others, mindful of profits or prepared to risk prosecution, overlooked discreet homosexual activity.