In the 13th century, much of Islam was focused political matters and the dual crisis of the imminent collapse of the Caliphate and the mongol hordes. However, in the heart of the Seljuk Empire (medieval Turkey) the Sufi movement was flourishing, embracing dance and mystical poetry. The love poems of Rumi, who lived in the capital city of Konya, would be embraced by all the world as how Romantic love is a clear mirror of the love between God and humanity.
The Djinn were demons capable of terrible deeds bound in the distant past by King Solomon who put his seal upon their prisons. Woe to those who finding one of the prisons of the djinn who would presume to break the seal of Solomon and free the djinn within.