<P> According to Indian folklore , Delhi was the site of the magnificent and opulent Indraprastha , capital of the Pandavas in the Indian epic Mahabharata , founded around 3500 BC . It was , one of the five prasthas or ` plains ' , which included Sonepat , Panipat , Tilpat ( near Faridabad ) , and Baghpat . 16th - century , Persian historian , Firishta , recorded a tradition that Delhi or Dilli was founded by a Raja Dhilu before the Yavana ( Greek ) invasions . However , it should be noted that the kings then referred to the initial Muslim invaders as Yavanas . </P>
who made delhi as capital for the first time
the Pandavas