Over time, many of the lower-ranking temple women were either bought as slaves or debt peons as well, and there might have often been a blurring of roles between priestesses who performed erotic rituals and prostitutes owned by the temple (and hence, in principle, by the god), sometimes lodged within the temple compound itself, whose earnings added to the temple treasuries.