As a young man, Azad composed poetry in Urdu, as well as treatises on religion and philosophy. He rose to prominence through his work as a journalist, publishing works critical of the British Raj and espousing the causes of Indian nationalism. Azad became the leader of the Khilafat Movement, during which he came into close contact with the Indian leader Mahatma Gandhi. Azad became an enthusiastic supporter of Gandhi's ideas of non-violent civil disobedience, and worked to organise the non-co-operation movement in protest of the 1919 Rowlatt Acts. Azad committed himself to Gandhi's ideals, including promoting "Swadeshi" (indigenous) products and the cause of "Swaraj" ("Self-rule") for India. In 1923, at an age of 35, he became the youngest person to serve as the President of the Indian National Congress.