Europe
Amongst the oldest reliable references to prostitution in ancient Greece comes from the Archaic era poet Anacreon ( c. 575 – c. 495 BC) in his poem about Artemon, which references "whores by choice". The record of prostitution in the classical period is better documented, and includes references to both free-born voluntary prostitutes, including the high social status hetairai, as well as involuntary slave prostitutes. Male prostitutes also existed in Ancient Greece.
There was never a unified legal approach to prostitution in ancient Rome. In ancient Rome, prostitutes had low social status and were considered infamia. Under the reign of emperor Caligula, a taxation on prostitution was implemented. Roman slave owners were able to include the ne serva prostituatur covenant as part of slave sale contracts, which prohibited the slaves being forced to prostitute themselves by their owners after being sold.
Throughout the Middle Ages the definition of a prostitute has been ambiguous, with various secular and canonical organizations defining prostitution in constantly evolving terms. Even though medieval secular authorities created legislation to deal with the phenomenon of prostitution, they rarely attempted to define what a prostitute was because it was deemed unnecessary "to specify exactly who fell into that [specific] category" of a prostitute. The first known definition of prostitution was found in Marseille's thirteenth-century statutes, which included a chapter entitled De meretricibus ("regarding prostitutes"). The Marseillais designated prostitutes as "public girls" who, day and night, received two or more men in their house, and as a woman who "did business trading [their bodies], within the confine[s] of a brothel." A fourteenth-century English tract, Fasciculus Morum, states that the term prostitute (termed 'meretrix' in this document), "must be applied only to those women who give themselves to anyone and will refuse none, and that for monetary gain". In general prostitution was not typically a lifetime career choice for women. Women usually alternated their career of prostitution with "petty retailing, and victualing," or only occasionally turned to prostitution in times of great financial need. Women who became prostitutes often did not have the familial ties or means to protect themselves from the lure of prostitution, and it has been recorded on several occasions that mothers would be charged with prostituting their own daughters in exchange for extra money.
Medieval civilians accepted without question the fact of prostitution, it was a necessary part of medieval life. Prostitutes subverted the sexual tendencies of male youth, just by existing. With the establishment of prostitution, men were less likely to collectively rape honest women of marriageable and re-marriageable age. This is most clearly demonstrated in St. Augustine's claim that "the removal of the institution would bring lust into all aspects of the world." Meaning that without prostitutes to subvert male tendencies, men would go after innocent women instead, thus the prostitutes were actually doing society a favor, according to Augustine.
In urban societies there was an erroneous view that prostitution was flourishing more in rural regions rather than in cities; however, it has been proven that prostitution was more rampant in cities and large towns. Although there were wandering prostitutes in rural areas who worked according to the calendar of fairs, similar to riding a circuit, in which prostitutes stopped by various towns based on what event was going on at the time, most prostitutes remained in cities. Cities tended to draw more prostitutes due to the sheer size of the population and the institutionalization of prostitution in urban areas which made it more rampant in metropolitan regions. Furthermore, in both urban and rural areas of society, women who did not live under the rule of male authority were more likely to be suspected of prostitution than their oppressed counterparts because of the fear of women who did not fit into a stereotypical category outside of marriage or religious life.
Secular law, like most other aspects of prostitution in the Middle Ages, is difficult to generalize due to the regional variations in attitudes towards prostitution. The global trend of the thirteenth century was toward the development of positive policy on prostitution as laws exiling prostitutes changed towards sumptuary laws and the confinement of prostitutes to red light districts.
Sumptuary laws became the regulatory norm for prostitutes and included making courtesans "wear a shoulder-knot of a particular color as a badge of their calling" to be able to easily distinguish the prostitute from a respectable woman in society. The color that designated them as prostitutes could vary from different earth tones to yellow, as was usually designated as a color of shame in the Hebrew communities. These laws, however, proved no impediment to wealthier prostitutes because their glamorous appearances were almost indistinguishable from noble women. In the 14th century, London prostitutes were only tolerated when they wore yellow hoods.
Although brothels were still present in most cities and urban centers and could range from private bordelages run by a procuress from her home to public baths and centers established by municipal legislation, the only centers for prostitution legally allowed were the institutionalized and publicly funded brothels. This did not prevent illegal brothels from thriving. Brothels theoretically banned the patronage of married men and clergy, but it was sporadically enforced and there is evidence of clergymen present in brawls that were documented in brothels. Thus the clergy were at least present in brothels at some point or another. Brothels also settled the "obsessive fear of the sharing of women" and solved the issue of "collective security." The lives of prostitutes in brothels were not cloistered like that of nuns and "only some lived permanently in the streets assigned to them." Prostitutes were only allowed to practice their trade in the brothel in which they worked. Brothels were also used to protect prostitutes and their clients through various regulations. For example, the law that "forbid brothel keepers [from] beat[ing] them." However, brothel regulations also hindered prostitutes' lives by forbidding them from having "lovers other than their customers" or from having a favored customer.
Courts showed conflicting views on the role of prostitutes in secular law as prostitutes could not inherit property, defend themselves in court, or make accusations in court. However, prostitutes were sometimes called upon as witnesses during trial.
By the end of the 15th-century attitudes seemed to have begun to harden against prostitution. An outbreak of syphilis in Naples 1494 which later swept across Europe, and which may have originated from the Columbian Exchange, and the prevalence of other sexually transmitted infections from the earlier 13th century, may have been causes of this change in attitude. By the early 16th century, the association between prostitutes, plague, and contagion emerged, causing brothels and prostitution to be outlawed by secular authority. Furthermore, outlawing brothel-keeping and prostitution was also used to "strengthen the criminal law" system of the sixteenth-century secular rulers.
Canon law defined a prostitute as "a promiscuous woman, regardless of financial elements." The prostitute was considered a "whore … who [was] available for the lust of many men," and was most closely associated with promiscuity.
The Church's stance on prostitution was three-fold: "acceptance of prostitution as an inevitable social fact, condemnation of those profiting from this commerce, and encouragement for the prostitute to repent." The Church was forced to recognize its inability to remove prostitution from the worldly society, and in the fourteenth century "began to tolerate prostitution as a lesser evil." However, prostitutes were to be excluded from the Church as long as they practiced. Around the twelfth century, the idea of prostitute saints took hold, with Mary Magdalene being one of the most popular saints of the era. The Church used Mary Magdalene's biblical history of being a reformed harlot to encourage prostitutes to repent and mend their ways. Simultaneously, religious houses were established with the purpose of providing asylum and encouraging the reformation of prostitution. 'Magdalene Homes' were particularly popular and peaked especially in the early fourteenth century. Over the course of the Middle Ages, popes and religious communities made various attempts to remove prostitution or reform prostitutes, with varying success.
With the advent of the Protestant Reformation, numbers of Southern German towns closed their brothels in an attempt to eradicate prostitution. In some periods prostitutes had to distinguish themselves by particular signs, sometimes wearing very short hair or no hair at all, or wearing veils in societies where other women did not wear them. Ancient codes regulated in this case the crime of a prostitute that dissimulated her profession. In some cultures, prostitutes were the sole women allowed to sing in public or act in theatrical performances.
In the 19th century, legalized prostitution became the center of public controversy as the British government passed the Contagious Diseases Acts, legislation mandating pelvic examinations for suspected prostitutes; they would remain in force until 1886. The French government, instead of trying to outlaw prostitution, began to view prostitution as a necessary evil for society to function. French politicians chose to regulate prostitution, introducing a "Morals Brigade" onto the streets of Paris. A similar situation did in fact exist in the Russian Empire; prostitutes operating out of government-sanctioned brothels were given yellow internal passports signifying their status and were subjected to weekly physical exams. A major work, Prostitution, Considered in Its Moral, Social, and Sanitary Aspects, was published by William Acton in 1857, which estimated that the County of London had 80,000 prostitutes and that 1 house in 60 was serving as a brothel. Leo Tolstoy's novel Resurrection describes legal prostitution in 19th-century Russia.
The leading Marxist theorists opposed prostitution. Communist governments often attempted to repress the practice immediately after obtaining power, although it always persisted. In most contemporary communist states, prostitution remained illegal but was nonetheless common. The economic decline brought about by the collapse of the Soviet Union led to increased prostitution in many current and former Communist countries.
In 1956, the United Kingdom introduced the Sexual Offences Act 1956. While this law did not criminalise the act of prostitution in the United Kingdom itself, it prohibited such activities as running a brothel. Soliciting was made illegal by the Street Offences Act 1959. These laws were partly repealed, and altered, by the Sexual Offences Act 2003 and the Policing and Crime Act 2009.
Since the break up of the Soviet Union, thousands of eastern European women end up as prostitutes in China, Western Europe, Israel, and Turkey every year. Some enter the profession willingly; many are tricked, coerced, or kidnapped, and often experience captivity and violence. There are tens of thousands of women from eastern Europe and Asia working as prostitutes in Dubai. Men from Saudi Arabia and the United Arab Emirates form a large proportion of the customers.