He was born on 28 June 1653 to Aurangzeb and his first wife and chief consort Dilras Banu Begum. He was also a timurid from father's blood and a Persian Safavid by mother's blood. He was the grandson of Shah Nawaz Khan Safavi, the Safavid Emperor of Persia and father of Azam Shah's mother.