This earliest known literary version is attributed to Jayasi, whose year of birth and death are unclear. He lived during the rule of Babur, the Islamic emperor who started the Mughal Empire after ending the Delhi Sultanate. Jayasi's compositions spread in the Sufi tradition across the Indian subcontinent. Variants derived from Jayasi's work on Padmavati were composed between the 16th and 19th centuries and these manuscripts exist in the Sufi tradition. In one, princess Padmavati became close friends with a talking parrot named Hiraman. She and the parrot together studied the Vedas – the Hindu scriptures. Her father resented the parrot's closeness to his daughter, and ordered the bird to be killed. The panicked parrot bade goodbye to the princess and flew away to save its life. It was trapped by a bird catcher, and sold to a Brahmin. The Brahmin bought it to Chittor, where the local king Ratan Sen purchased it, impressed by its ability to talk.