Unlike European cultures which are primarily based in Christian religion and held up many anti-LGBT laws until recently, the Chinese culture was much more open about non-exclusively-heterosexual relationships. "For a period of the modern history of both the Republic of China and People's Republic of China in the 20th century, LGBT people received more stringent legal regulations regarding their orientations, with restrictions being gradually eased by the beginning of the 21st century." Though there were still restrictions in the ancient Chinese culture, homosexual relations have been documented since early historical periods. There were recordings of subcultures of prostitute/actors also in existence; however, even in modern-day Chinese culture, there are those who are opposed to outside heterosexual relationships and lifestyles. In the People's Republic of China, "Reportedly, Mao Zedong believed in the sexual castration of "sexual deviants," but little is known about the Communist Chinese governments official policy with regards to homosexuality prior to the 1980s."