According to legend, Brahma was in search of a place for Mahayagna and he found this place suitable. After a long time, Brahma came to known that a demon, Vajranash, was killing people here so the Lord intoned a mantra on a lotus flower and killed the demon. During this process the parts of flower fell on three places which were later known as Jyaistha, Madhya and Kanistha Pushkar. After this Brahma performed a yagna to protect this place from demons. The consort of Brahma, Savitri, were needed to offer Ahuti for the yagna but she was not there that time so Gayatri, a local girl, was married to brahma and performed yagna. This act made first wife of Brahma, Savitri, angry and she cursed Brahma saying that he would be worshiped in Pushkar only.