<Tr> <Td> Muhammad Azam Shah (titular) </Td> <Td> 1707 </Td> </Tr> <Tr> <Td> Bahadur Shah I </Td> <Td> 1707--1712 </Td> </Tr> <Tr> <Td> Jahandar Shah </Td> <Td> 1712--1713 </Td> </Tr> <Tr> <Td> Farrukhsiyar </Td> <Td> 1713--1719 </Td> </Tr>

Who was the greatest ruler of mughal dynasty in india