By the early 1960s, such measures had basically wiped out visible forms of prostitution from mainland China.
According to the People's Republic of China (PRC) government, venereal diseases were almost completely eliminated from the mainland contemporaneously with the control of prostitution.
Due to the enormity of social issues that had to be addressed, and the limited budgets and human resources of local governments, most cities adopted the slower approach of first controlling and then prohibiting brothel-prostitution.
A large number of Russian women work as prostitutes in China.
The government of China has vacillated, however, in its legal treatment of prostitutes themselves, treating them sometimes as criminals and sometimes as behaving with misconduct.
The potential benefits of prostitution as an alternative form of employment include greater disposable income, access to upwardly mobile social circles and lifestyle options.
The state-controlled media have focused attention on urban residents engaging in prostitution, especially university-educated women.
One month after the Communist takeover of Beijing on 3 February 1949, the new municipal government under Ye Jianying announced a policy to control the city's many brothels.
On 21 November, all 224 of Beijing's establishments were shut down; 1286 prostitutes and 434 owners, procurers, and pimps were arrested in the space of 12 hours by an estimated 2400 cadres.Despite lobbying by international NGOs and overseas commentators, there is not much support for legalisation of the sex sector by the public, social organizations or the government of the PRC.While the sale of sexual intercourse remains illegal throughout mainland China, as of 2013 erotic massage, or more commonly known as massage with "happy endings", is legal in the city of Foshan in Guangdong province.On occasion, police have been implicated in the running of high grade hotels where prostitution activities occur, or accepting bribes and demanding sexual favours to ignore the existence of prostitution activities.Government corruption is also involved in a more indirect form — the widespread abuse of public funds to finance consumption of sex services.For example, a Communist Party official who was a top provincial campaigner against corruption was removed from his post after he was caught in a hotel room with a prostitute.