The Diwan-i-Insha was the minister responsible for drafting and managing all royal correspondence during the Delhi Sultanate period. This department handled official letters, documents, and communications sent on behalf of the Sultan. The Wazir was the prime minister, Mir-i-Bakashi handled military payrolls, and Qazi was the judicial officer.