MUJRA --Where and how did this tradition start?

Adaab! I am currently reading the novel Umrao Jaan Ada again and am interested in the cultural history of how the institute of the tawaif and the mujra came about. Was it introduced by the mughals or was it a development of previous cultures?? Is it related to the history of kathak??

any info would be welcome :slight_smile: