<P> The Kangra Fort is located 20 kilometers from the town of Dharamsala on the outskirts of the town of Kangra, India . </P> <P> The Kangra Fort was built by the royal Rajput family of Kangra State (the Katoch dynasty), which traces its origins to the ancient Trigarta Kingdom, mentioned in the Mahabharata epic . It is the largest fort in the Himalayas and probably the oldest dated fort in India . </P> <P> At least three rulers sought to conquer the fort and plundered the treasures of its temples: Mahmud Ghazni in 1009, Feroz Shah Tughluq in 1360 and Sher Shah in 1540 . The fort of Kangra resisted Akbar's siege . Akbar's son Jahangir successfully subdued the fort in 1620 . Kangra was at the time ruled by Raja Hari Chand Katoch of Kangra (also known as Raja Hari Chand II) Mughal Emperor Jahangir with the help of Suraj Mal garrisoned with his troops . Under Jahangir, Murtaza Khan the governor of Punjab was directed to conquer Kangra, but he failed on account of the jealousy and opposition of the Rajput chiefs who were associated with him . Then Price Khurram was put in charge of the command . The siege of Kangra was pushed on for weeks . Supplies were cut off . The garrison had to live on boiled dry grass . It was faced with death and starvation . After a siege of 14 months, the fort surrendered in November, 1620 . In 1621, Jahangir visited it and ordered the slaughter of a bullock there . A mosque was also built within the fort of Kangra . </P> <P> The Katoch Kings repeatedly looted Mughal controlled regions, weakening the Mughal control, aiding in the decline of Mughal power, Raja Sansar Chand II succeeded in recovering the ancient fort of his ancestors, in 1789 . Maharaja Sansar Chand fought multiple battles with Gurkhas on one side and Sikh King Maharaja Ranjit Singh on the other . Sansar Chand used to keep his neighboring Kings jailed, and this led to conspiracies against him . During a battle between the Sikhs and Katochs, the gates of the fort had been kept open for supplies . </P>

Which mughal emperor got mosque built inside the kangra fort
find me the text answering this question