 Starting during the Muslim period, Kunjah was considered a strategically important town.Ibrahim Bin Masood used Kunjah as his main base for his attack on neighboring districts.In the Mughal period, King Aurangzeb Alamgir also visited Kunjah, and during his stay in Kunjah he built a mosque that is now named after him.