<Table> <Tr> <Th_colspan="2"> Delhi Sultanate پادشاهی دهلی </Th> </Tr> <Tr> <Td_colspan="2"> 1206--1526 </Td> </Tr> <Tr> <Td_colspan="2"> Flag </Td> </Tr> <Tr> <Td_colspan="2"> Delhi Sultanate reached its zenith under the Turko - Indian Tughlaq dynasty . </Td> </Tr> <Tr> <Th> Capital </Th> <Td> <Ul> <Li> Lahore (1206--1210) </Li> <Li> Badayun (1210--1214) </Li> <Li> Delhi (1214--1327) </Li> <Li> Daulatabad (1327--1334) </Li> <Li> Delhi (1334--1506) </Li> <Li> Agra (1506--1526) </Li> </Ul> </Td> </Tr> <Tr> <Th> Common languages </Th> <Td> Persian (official), Hindavi (1451--1526) </Td> </Tr> <Tr> <Th> Religion </Th> <Td> Sunni Islam </Td> </Tr> <Tr> <Th> Government </Th> <Td> Sultanate </Td> </Tr> <Tr> <Th> Sultan </Th> <Td> </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th> 1206--1210 </Th> <Td> Qutb al - Din Aibak (first) </Td> </Tr> <Tr> <Th> 1517--1526 </Th> <Td> Ibrahim Lodi (last) </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th> Historical era </Th> <Td> Middle Ages </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th> Independence </Th> <Td> 12 June 1206 </Td> </Tr> <Tr> <Th> Battle of Amroha </Th> <Td> 20 December 1105 </Td> </Tr> <Tr> <Th> Battle of Panipat </Th> <Td> 21 April 1526 </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> Preceded by </Td> <Td> Succeeded by </Td> </Tr> <Tr> <Td> <Table> <Tr> <Td> </Td> <Td> Pandya dynasty </Td> </Tr> <Tr> <Td> </Td> <Td> Ghurid dynasty </Td> </Tr> <Tr> <Td> </Td> <Td> Gahadavala </Td> </Tr> <Tr> <Td> </Td> <Td> Chandela dynasty </Td> </Tr> <Tr> <Td> </Td> <Td> Paramara dynasty </Td> </Tr> <Tr> <Td> </Td> <Td> Deva dynasty </Td> </Tr> <Tr> <Td> </Td> <Td> Seuna (Yadava) dynasty </Td> </Tr> <Tr> <Td> </Td> <Td> Kakatiya dynasty </Td> </Tr> <Tr> <Td> </Td> <Td> Musunuri Nayaks </Td> </Tr> <Tr> <Td> </Td> <Td> Vaghela dynasty </Td> </Tr> <Tr> <Td> </Td> <Td> Yajvapala dynasty </Td> </Tr> </Table> </Td> <Td> <Table> <Tr> <Td> Mughal Empire </Td> <Td> </Td> </Tr> <Tr> <Td> Bengal Sultanate </Td> <Td> </Td> </Tr> <Tr> <Td> Gujarat Sultanate </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th> Today part of </Th> <Td> <Ul> <Li> Bangladesh </Li> <Li> India </Li> <Li> Pakistan </Li> </Ul> </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Delhi Sultanate پادشاهی دهلی </Th> </Tr>

Who was the sultan of delhi when they invented the city