Qutb-ud-Din Ahmad Shah II, born Jalal Khan, was a ruler of the Muzaffarid dynasty, who reigned over the Gujarat Sultanate from 1451 to 1458. He succeeded the king Muhammad Shah II.
Al Biruni was made court astrologer in Ghazni and he accompanied with Mahmud on his invasions on India. He lived for several years here and is considered to be first Indologist.