Why did Gandhiji couple Non-Cooperation movement with Khilafat movement?

Gandhiji believed in communal harmony and secularism. He wished to get cooperation of Muslim community at its maximum. The treatment provided by the British government to the Caliph of Turkey disturbed Indian Muslims since he was perceived as their religious head. Resulting from this, they initiated the Khilafat Movement under leadership of Maulana Azad, the Ali brothers and Hasrat Mohani, among others. Gandhiji saw Khilafat Movement as one opportunity to attain the much wanted Hindu-Muslim unity and put efforts to create common cause with the leaders of the this movement. He hoped that via this coupling, India’s two main religious communities, including Muslims and Hindus could bring an end to the colonial rule together.