In Europe from 1905 to 1908, he earned his degree in philosophy from the University of Cambridge, qualified as a barrister in London, and received a doctorate from the University of Munich. His thesis, The Development of Metaphysics in Persia, revealed some aspects of Islamic mysticism formerly unknown in Europ
On his return from Europe, he gained his livelihood by the practice of law, but his fame came from his Persian- and Urdu-language poetry, which was written in the classical style for public recitation. Through poetic symposia and in a milieu in which memorizing verse was customary, his poetry became widely known, even among the illiterate. Almost all the cultured Indian and Pakistani Muslims of his and later generations have had the habit of quoting Iqbal.
Before he visited Europe, his poetry affirmed Indian nationalism, as in Naya shawala ("The New Altar"), but time away from India caused him to shift his perspective. He came to criticize nationalism for a twofold reason: in Europe it had led to destructive racism and imperialism, and in India it was not founded on an adequate degree of common purpose. In a speech delivered at Aligarh in 1910, under the title "Islam as a Social and Political Ideal," he indicated the new Pan-Islamic direction of his hopes. The recurrent themes of Iqbal's poetry are a memory of the vanished glories of Islam, a complaint about its present decadence, and a call to unity and reform. Reform can be achieved by strengthening the individual through three successive stages: obedience to the law of Islam, self-control, and acceptance of the idea that everyone is potentially a vicegerent of God (na`ib, or mu`min). Furthermore, the life of action is to be preferred to ascetic