Sri Krishna requests Mayasura build a palace for the Pandavas
In Hindu mythology, Maya (Sanskrit: मय), or Mayāsura (मयासुर) was a great ancient king of the asura, daitya and rākṣasa races. Maya was known for his brilliant architecture. In Mahabharatha, Mayasabha, the hall of illusions was named after him. 
In the MahabharatEdit
Mayasura had befriended a snake named Takshaka and lived with him in the area of Khandavprastha along with his family and friends. But when the Pandavas came there after the partition of Hastinapur, Arjun burnt the entire forest, forcing Takshaka to flee away and killing everyone in the forest. Along with his family. So, Mayasura decided to surrender to the Pandavas. Krishna was ready to forgive him and for this act, Mayasura built a very grand palace named Maya-Mahal, where the Pandavas would perform the Rajsuya Yagna. He also offer him the gifts like, a bow,a sword and many more. He also gave a mace to Arjuna's brother Bhima.
In the RamāyanaEdit
He built his capital and called it Maya Rashtra. Mayaasura is mentioned in Uttarakāṇḍa of Rāmāyaṇa and here he is said to be the son of Diti (wife of Kashyapa, a Saptaṛṣi), He is the father of Mandodari, the beautiful wife of Ravana, the king of Lanka.
- Uttara Ramayana https://archive.org/stream/TheRamayanaUttaraKandam/The_Ramayana_djvu.txt
- Devahish Dasgupta. Tourism Marketing. Pearson Education India. p. 20. ISBN 978-81-317-3182-6. Retrieved 29 January 2012.