In China during the Ming period, there was an injunction that made the homes of singing women off-limits to army officers. As a substitute, mandarins and academics held parties to which they invited young male actors who played the roles of women for their elders' entertainment.